Publish and Embed Your Online Case and Customer Forms

Written by
Denise Cuarto
Published on
January 9, 2023 at 2:22:02 AM PST January 9, 2023 at 2:22:02 AM PSTth, January 9, 2023 at 2:22:02 AM PST

When you publish an online form, customers can complete the form directly on your website. First, create the case or customer form, and then follow the steps below to publish the form on your website.

When you create an online form for publishing on your website, you must check the Enable Online box. Note that the Title on the online form record does not display on your site, but visitors will see the text you enter in the Message field. You create the name for the form visible on the website when you create the published form.

To create online case forms, go to Setup > Support > Online Case Forms > New.

To create online customer forms, go to Setup > Marketing > Online Customer Forms > New.

Publish an Online Case or Customer Form:

  1. Go to Commerce > Site Builder > Content Management > Publish Forms.
  2. Select the type of online form you want to publish:
    • For case records, click Case Form.
    • For online customer forms, click Customer Form.
  3. Enter a value in the Name field to create the link displayed on your site. When site visitors click this name, they are directed to the page where they can fill out your online form.
  4. In the Case Form field or the Customer Form field, select the online form you want to publish.
  5. Check the Display in the Web Site box to make this form available to anyone who visits your site.
  6. At the bottom of the page, select the Site Category where you want the form to display.
    1. If you use the Multiple Site feature, you must first select a Site, and then select the tab or category where you want this form published
    2. Click Add.
  7. On the Basic subtab, the fields listed below are optional:
    • You can enter a Brief Description and Detailed Description of this form. The brief description is displayed under the name of the published form in lists on your site. The detailed description is displayed on the page that displays the form.
    • You can enter text in the Featured Description field which shows when a published form is featured on your home page.
      Note: Published forms can only be featured on your home page if you use a NetSuite presentation tab as your home page. Items are not automatically featured on custom HTML pages that you host through NetSuite.

    • In the Search Keywords field, you can enter alternate words or misspellings that site visitors might use when searching your website to find this form.
  8. (Optional) On the Media subtab, select a thumbnail image next to the published form name in the lists.
  9. If you use the Multi-Language feature, see Multi-Language Names and Descriptions for more information on using the Translations subtab.
  10. Click Save.

Embedding an Online Form on Your Website Page

When a visitor to your website clicks on a link to an online form, a redirect occurs to the page where the visitor completes the form. You may want to embed an online form on your website, to keep visitors on one page.

For example, the Professional Office Supply store has an external catalog website. The merchant wants site visitors to fill out an online customer form on the home page but wants to keep them on that home page.

You can use an iFrame to embed an online form in your NetSuite web store page, or your own custom HTML page. This lets you display an online customer form in a scrollable box embedded in your web page. Use the sample code below, replacing the URL in the src attribute with the Publishable Form URL displayed on the External subtab of your online form record.

Copy the Source Code Below:

<iframe src ="https://forms.netsuite.com/app/site/crm/externalleadpage.nl?compid=NCC133237&formid=6&h=2b495d8e81474994631c" width="100%"> </iframe>

To embed an online form in a NetSuite tab, edit the tab, and then add the iFrame in the Message field. For a category, add the iFrame in the Detailed Description field.

To embed an online form in a custom HTML page that is part of an external catalog site or an HTML page you host in the NetSuite File Cabinet, edit your file, and then add the iFrame to your custom HTML.