Setting up Web Forms

Setting up Web Forms

Setting up Web Forms

Creating a web form involves three steps 

  • Building the form  - Drag and drop fields to build a form and format it easily with the WYSIWYG editor. 
  • Specifying the form details  - Add details such as form name, landing page URL (where the visitor needs to be redirected after the form is submitted) record assignment rule, notification details, etc. 
  • Generating the code for the form  - Embed the form using various code formats. Codes for some third-party sites (WordPress, Google Sites, Facebook, and Joomla) are readily available. 

You can build web forms to generate records for the  Leads ,  Contacts ,  Cases  and any other  Custom modules . While building a web form, the following elements are available in the form: 

Option 
Description 
Add fields          
Drag and drop the fields that are required in the form. By default, some of the fields are already added when you build a new form. 
Set field font and form layout
Use the WYSIWYG editor to change the font style and size, background color, alignment of the fields, etc. in the form. 
Insert Captcha 
Captcha is used for security in feedback forms, website registration, comments from visitors, etc. Add captcha for the CRM system to prevent unauthorised automated spamming programs from filling out the web form. This option is available only in the Paid editions. 
Add privacy policy link 
Add a checkbox for people to accept your legal agreements such as Terms & Conditions, Privacy Policy, etc. 
Upload files in the form 
Capture files through your web-to-lead/contact/case forms (or any other custom module), such as screen shots of an issue, quote requests, photos of individuals, etc. You can upload up to 3 files and the size of all the files put together should be within 20 MB. If the total file size exceeds the limit, the form will not be submitted and the record will not be added in the CRM. This option is available only in the Paid editions. 
Mark fields as mandatory 

Collect important information such as name, email address, mobile number, etc. from the visitors who fill out the web form by marking fields as mandatory. 

Mark fields as hidden 
Add a hidden field and its value in the form. These hidden values are submitted along with the web form but are hidden to the visitors who fill out the form. 
Add help link for a field 
A field you provide may require data to be filled out in a specific format. For example, the date format may need to be specified in DD-MM-YYYY. You can use the option to add a tip or hint to help the visitor who fills out the form. 
Change button name 
The name of the call to action button can be Save, Submit, or another other name. You can easily change the name if your needs change. 
Specify location URL of the form 
The Location URL is the web page URL where you plan to host the web form. Specifying the URL helps you prevent spam and allows only forms submitted through the provided domain to be captured as valid information. 
Specify landing page URL 
This is the URL of the web page to which the visitor needs to be redirected once the web form is submitted. 
Select record assignment rule 
Records generated through the web forms can be automatically assigned to the users in CRM with the help of assignment rules. 


Specify notification options 
Set notifications that need to be sent to the record owners and the visitors who submit the forms. Email templates or auto-response rules can be used to send notification emails. When the email has to be sent to users within the organisation, it is sent as a notification from the email address notifications@XXXcrm.com 
Enable Double Opt-in 
Enable the double opt-in mechanism for webforms, so that customers who submit their information will have to confirm their submission before their data is pushed into the CRM.  
Embed form code 
Embed the web form's code in your web page. The code is available in three different formats: HTML source code, Embed code and iFrame code. 

Generate Web Forms

To generate web forms for Leads, Contacts, and Cases 

  1. Go to  Setup  >  Developer Space  >  Webforms 
  2. In the  Web Forms  page, choose the appropriate  Module  from the drop-down list. 
    The existing web forms for the selected module will be listed. 
  3. Click  Create Web Form 
  4. In the web form builder, do the following: 
    • Build a form 
      • Drag and drop the fields that you need in the web form. 
      • Insert captcha. 
      • Add the option to upload files. 
      • Mark fields as mandatory. 
      • Make fields hidden in the form. 
      • Provide hint or help links for fields. 
      • Set font and layout of the form. 
      • Change button names. 
    • Specify form details and other options 
      • Add form details such as, form name, landing page URLs and form location URL. 
      • Set a record assignment rule. 
      • Set notification options 
    • Copy web form code and embed options 
      • Get code to embed in your site and other third-party sites. 
        The code is available in three different formats: HTML source code, Embed code, and iFrame code. 

Step 1: Build a Form

Drag and drop fields in the WYSIWYG editor, which also provides various other options to build a form. 

Add Fields

Drag and drop the fields you need in the form and change the font style and size, background color, alignment of the fields, etc. 

To add fields and set the font and layout of the form 

  1. Under the  Fields List  tab, click on a field, and drag and drop it in the form builder. 
  2. Make any desired changes to the font, background color, field label alignment, and form width. 

Note 
  1. By default, some of the fields are already added in the form. 
    1. For Leads and Contacts - LastName, Email and Phone fields. 
    2. For Cases - Status, Subject and Description fields. 
  2. You cannot remove the following fields from the form, as they are mandatory for a record. 
    1. For Leads and Contacts - Last Name field. 
    2. For Cases - Subject field. 
  3. To have custom fields, you need to first create them in the particular module.
  4. When you add the Account Namefield in the web form for Contacts and contact details are submitted, an account will automatically be created in the CRM. If an account with the same name already exists in your CRM account, an account will not be created when the form details are submitted. 
  5. An Account will be created, even if certain mandatory field details are not provided. Later, when the account is edited, you need to provide the other mandatory details before saving the record. 

Upload Files

Capture files through your web-to-lead/contact/case forms, such as screen shots of an issue, quote requests, photos of individuals, etc. The combined size of the file(s) should be within 20 MB. If the file size exceeds the limit, the form will not be submitted and the record will not be added in the CRM. This option is available only in the Paid editions. 

To add the option to upload files 

  1. Select the  Advanced Tools  tab. 
  2. Drag and drop the  File Upload  field. 
    Note that the visitor cannot upload a file exceeding 20 MB. You can use the help link option in the Field Settings  to provide this hint. 

 

Insert Captcha

Add captcha to prevent unauthorised automated spamming programs from filling out the web form. This option is available only in the Paid editions. 

To insert captcha 

  1. Click the  Advanced Tools  tab. 
  2. Drag & drop the  Captcha  field. 

 

Insert Privacy Policy option

Every business has some form of legal agreements in place, such as a Terms & Conditions agreement, a privacy policy or an End-User License Agreement (EULA). It is important that people read such agreements and legally agree to them with a deliberate action such as selecting a checkbox in a form. 

In the CRM, you can make sure this is addressed by using the  Privacy Policy option. Using this option you can add a checkbox and customise the message appropriately. Unlike other checkbox fields, this checkbox field has a validation; the form will be submitted only after this checkbox has been selected. 

To insert privacy policy option 

  1. Click the  Advanced Tools  tab. 
  2. Drag & drop the  Privacy Policy  field.  
  3. In the  Privacy Policy  popup, add and format your desired message. 
    You can add a link to the text as well (for example, a link to the privacy policy page). 
     

Mark Fields as Mandatory

Mark important fields as mandatory to collect important information such as name, email address, mobile number, etc. from the visitors who fill out the web form. 

To mark fields as mandatory 

  1. Move your cursor to the field that you want to mark as mandatory. 
  2. Click on the  Settings  icon. 
  3. In the  Field Properties  pop-up, select the  Mark as required field  checkbox. 
  4. Click  Done  

Mark Fields as Hidden

Add a hidden field and its value in the form. These hidden values are submitted along with the web form but are hidden to the visitors who fill out the form. For example, if you have hosted the same form in various web pages, the hidden field will help you identify which web page hosted the web form that generated a specific record. 

To make fields hidden in the form 

  1. Move your cursor to the field that you want to hide in the form. 
  2. Click on the  Settings  icon. 
  3. In the  Field Properties  pop-up, select the  Mark as hidden field  checkbox. 
  4. Specify the value for the field and click  Done  

A field you provide may require data to be filled out in a specific format. For example, the date format may need to be specified in DD-MM-YYYY. For such requirements, you can use the option to add a tip or hint to help the visitor who fills out the form. 

To provide hint or help links for fields 

  1. Move your mouse pointer to the field for which you want to provide hint or help link. 
  2. Click on the  Settings  icon. 
  3. In the  Field Properties  pop-up, select the  Include help link  checkbox. 
  4. Choose one of the following: 
    • Link & Text  : Specify a text for the link and provide the link URL. 
    • LinkOnly : Specify the help/hint text. For example, the date field can have the format MM-DD-YYYY 
  5. Click  Done  

Change Button Name

By default, there are two call-to-action buttons:  Submit  and  Reset . You can rename these buttons as needed. 

To change button names 

  1. Move your cursor to the field that you want to rename in the form. 
  2. Click on the  Settings  icon. 
  3. In the  Field Properties  pop-up, modify the field name. 
    The name of the field will be changed only in the form. 
  4. Click  Done  

Remove Field from the Form

Easily remove unwanted fields from the web form and add them whenever required. 

To remove a field from the form 

  1. Move your mouse pointer to the field that you want to remove from the form. 
  2. Click on the  Delete  icon. 

Preview the Web Form

Take a look at the web form before publishing it in your web site. 

To preview the form 

  1. In the form builder, click on the  Preview  link. 
    A preview of the form will be available. 

Step 2: Specify Form Details

  1. Enter a  form name  (e.g., Feedback, Contact Us, etc.). 
  2. Specify  form location URL . This should be the web page where the web form will be hosted. It should start with  "http://"  or "https://" . (e.g.,  https://www.zylker.com/contact-us.html ). This prevents spam and allows only forms submitted through the particular domain to be captured as valid information. 
  3. Specify a  landing page URL . The visitor who submits the form will be redirected to the URL specified here. It should start with  "http://" or "https://" 
    The length of the return URL should not exceed 255 characters. (e.g.,  https://www.zylker.com/thank-you.html 
     
  4. Choose one of the following options to  AssignOwner  to the records that are submitted via web form. 
    • Choose a User : Select from the drop-down list. All the records generated through the form will be assigned to the selected user. 
    • Create or Choose [Module] Assignment rule  to assign ownership: Select an existing assignment rule or create a new one. Records will be assigned to the users based on the rules you set. With assignment rules you can implement the  Round Robin  method to assign records to the users. 
  5. Add relevant  Tags , if applicable, from the list of existing tags for the module.  
    The chosen tag will be added to all of the records captured from the webform.  
  6. Toggle on the  Enable Double Opt-in  button. 
    Note that this option can be used only if the primary email field is added to the web form. When a web form with double opt-in is submitted, a confirmation email is sent to the visitor for additional verification. 
  7. Enable  Notify [Record] Owner , if required and select an email template that will be sent to the record owner. When a notification email has to be sent to users within the organization, it is sent as a notification from the email address notifications@XXXcrm.com 
  8. Enable  AcknowledgeVisitor  if you want to send an email to the person who submitted the web form. After you select an email template, you will be prompted to enter the  From  and  Reply to fields. 
    Here you can choose one of these options in the drop-down list:your account email address 
      • organisation email address 
      • email address of the record owner 
      • other user's email address 
    • Using Auto-ResponseRule : Use one of the existing auto-response rules . Based on the details gathered using the web form, auto-response rules can be triggered to send specific emails. 
      When details gathered through the web form do not satisfy the auto-response rule criteria, then the email template selected in the second option will be sent as an acknowledgment email. 
    • Default response for all visitors : Choose an email template that will be used to send email to the leads generated via this web form.  
  9. Enable  VisitorTracking  and select the portal from the drop-down list. If you have enabled the feature, this will automatically include the visitor tracking code in your web form's code (applicable only for the  Source Code  and  Embed Code  formats). 
     
    • If you choose the  iFrame code  format in the  Embed Options , you have to manually add the visitor tracking code along with the iFrame code in your web page. For the iFrame code format alone, the visitor tracking code is not automatically included along with the code. For the  Source code and  Embed  code formats the visitor tracking code will automatically be included. 
      To find the Visitor Tracking code to embed, go to  Setup  >  Channels   >  Chat  and copy the code from the  Visitor Tracking page. 
    • If you have not enabled the Visitor Tracking  feature, you will be asked to create a portal here to start using this feature. 
  10. Select the  RequestApproval  checkbox if you want to submit the records for approval. 

    Note that users with the  Approve Web-to-Leads/Contacts/Cases  permission in the profile can approve the records. 
  11. Click  Save 

Note 
  1. The Request Approval option will help you validate the generated records manually, and then add them to the corresponding module in the CRM. If this option is not selected, all the records generated through the web form are added directly to the corresponding modules. 
  2. If the domain name in the Location URL does not match with the URL where the web form is hosted, then the information will not be captured. Alternatively, you can enter [*] in the landing URL field to capture from other / multiple domains. 

Step 3: Use Web Form Code to Embed

The code for the web form is available in three formats:  Source code ,  Embed code , and  iFrame code . The code is also readily available for some third-party sites: WordPress, Facebook, Google Sites, and Joomla. Please note that the Script and iFrame code is available only in the Paid editions. 

To embed web form code 

  1. Select  Source  Code,  Embed  or the  iFrame  code from the list as required. 
       

  2. Copy the code and paste it in the website where you want the web form. 
  3. Select the  Track the records along with Google Ads information through web forms  checkbox, if desired. 
    Copy the tracking code displayed and paste it at the bottom of every page of your website immediately before the </body> tag. 
    Note that this Google Ads tracking code appears only if you are a Google Suite user and you have enabled Google Ads integration. 
  4. Click  Done 

Note 
  1. In order to avoid spam, the generated Web Form (HTML file) must be published in an active web server (Apache, Microsoft, IIS, etc.). 
  2. The web form will not work if you submit the form values from your desktop. 
  3. When the HTML code is generated for the web form, certain entities are hidden by default. If you remove those hidden entities, the web form will not work. Here is the code snippet that should not be removed from your web form code:
    <input type="hidden" name="xnQsjsdp" value="" /> <input type="hidden" name="xmIwtLD" value="" /> <input type="hidden" name="actionType" value="" / 

Enable Double Opt-in

Double opt-in is a process in which users confirm twice that they are interested in what you offer and willingly fill out the web form. It helps you get quality leads, and lets you dedicate time and resources to people who want to hear from you. When you enable the double opt-in mechanism for webforms, customers who submit their information will have to confirm their submission before their data is pushed into the CRM.  

The two steps involved in double opt-in are: 

  1. A user fills in their email address and other details and submits the form through your website. 
  2. A confirmation email is sent to the email address provided by the user. The user needs to click on the link in the email and confirm. 

To enable double opt-in for your web form 

  1. Go to  Setup  >  Developer Space  >  Webforms 
  2. In the  Web Forms  page, choose the  Module  from the drop-down list. 
    The existing web forms for the selected module will be listed. 
  3. Click  Create Web Form  or choose one of the existing web forms. 
  4. In the web form builder, edit the form, if required and click  Next Step 
  5. In the  Form Details  popup, toggle on the  Enable Double Opt-in  button. 
    Note that this option can be used only if the primary email field is added to the web form. When a web form with double opt-in is submitted, a confirmation email is sent to the visitor for additional verification. 
  6. Click  Save 
  7. Publish the new web form's code that is generated on your website. 



    • Related Articles

    • Web Forms - An Introduction

      Web Forms - An Introduction Web forms simplify the process of capturing visitors or users information from your website into your CRM system. They are designed to automate the importing of data from websites into the CRM. Non-technical users find it ...
    • CRM Web Forms for Google Sites

      CRM Web Forms for Google Sites Web forms simplify the process of capturing visitors' or users' information from the website into your CRM system. They are designed to automate importing of data from website into the CRM and to enable non-technical ...
    • Including Opt-in Checkbox in Web Forms for Consent

      Including Opt-in Checkbox in Web Forms for Consent You may already have some CRM web forms in use that are published in your website. You need to follow the steps given below to add a consent checkbox to those web form. The same steps can also be ...
    • Setting up Assignment Rules

      Setting up Assignment Rules Record Assignment Workflow Limitations Assignment rules help you automatically assign the records to users in the CRM. The assignment rule is applicable only for the  leads, contacts, cases and records in custom modules ...
    • Managing Web Tabs

      Managing Web Tabs Activate Web Tabs Create web tabs Access Creator applications in the CRM Delete Web Tabs Web tabs help you to open web pages like company-wide announcements, web applications, etc. inside the CRM. All the the CRM users across the ...