Publish Your eRequest Link

Once you've configured all your eRequest settings to your liking, the eRequest will be assigned a unique hyperlink. You can publish this unique hyperlink on your website in either of the following 2 ways.

  1. Post a hyperlink on your website to this eRequest.

    • Look in the "eRequest Links" section of the Ocean Portal (in the Admin tab) for your eRequest hyperlink.
    • Post a link to this hyperlink on your website.
  1. Embed the hyperlink within your website using an iFrame.

    • iFrames are special HTML tags that allow you to include secure content from another site within your own site. This will seamlessly embed the hyperlink within an area of your website, allowing your patients to experience the form as though it were located directly on your site.
    • To add the portal to your own website using an iFrame, paste in the following HTML in the desired location on your page.

      <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script><script type="text/javascript" src="https://ocean.cognisantmd.com/lib/iframeResizer.min.js"></script><script type="text/javascript" src="https://ocean.cognisantmd.com/js/OIFrameResizer.js"></script><iframe width="100%" style="border: none; min-height: 300px;" src="YOUR_OCEAN_PORTAL_URL"></iframe>
    • Change the YOUR_OCEAN_WEBSITE_URL above to the URL you created in the previous step.
    • Note that the "script" tags included above are optional, but they ensure that the iFrame will automatically resize itself to be the height of the questionnaire on the page.
    • Try out the link to your page once you’ve done this.
    • If you examine the HTML source of the page, you’ll find a link to the iFrame like this:

      <iframe style="border: none; min-height: 300px;" src="https://ocean.cognisantmd.com/eRequest/70d9ae78-4999-4339-ad84-abc0438a0485" width="100%" height="1500px"></iframe>
    • Note that the outer website is cognisantmd.com, but the questionnaire portal itself is hosted on ocean.cognisantmd.com.
Have more questions? Submit a request