Setting up Webforms

Setting up Webforms


Creating a webform 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 webforms to generate records for the  LeadsContactsCases and any other Custom modules. While building a webform, 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 standard Captcha 
Captcha is used for security in feedback forms, website registration, comments from visitors, etc. Add captcha for the Zoho CRM system to prevent unauthorized automated spamming programs from filling out the webform. 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 Zoho 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 webform 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 webform 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 webform. 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 webform is submitted. 
Select record assignment rule 
Records generated through the webforms 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 autoresponse rules can be used to send notification emails. When the email has to be sent to users within the organization, it is sent as a notification from the email address notifications@zohocrm.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 Zoho CRM.  
Embed form code 
Embed the webform's code in your web page. The code is available in three different formats: HTML source code, Embed code and iFrame code. 

Generate Webforms

To generate webforms for Leads, Contacts, and Cases

Notes
Note: Webforms are responsive, that is, they can adjust the display according to the screen size.
  1. Go to  Setup Channels Webforms
  2. In the Webforms  page, choose the appropriate Module from the drop-down list.  The existing webforms for the selected module will be listed.
  3. Click New Form.
  4. In the New Form  popup, do the following: 
    1. Enter the Form Name
    2. Select the Module for which you are creating the webform from the drop-down list.
  5. In the webform builder, do the following: 
    • Build a form 
      • Drag and drop the fields that you need in the webform. 
      • 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 webform 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 section, select and drag and drop a field in the form builder. 
  2. Make any desired changes to the font, background color, field label alignment, and form width.
Notes
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. See Also  Custom Fields 
  4. When you add the Account Namefield in the webform for Contacts and contact details are submitted, an account will automatically be created in Zoho 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. 

Date Picker

The Date picker field allows to set the pattern in which the dates must be captured in the webform. For example, MM/DD/YY or YY/MM/DD or DD/MM/YYYY.
When a webform contains fields that require people to enter dates such as Date of birth, Date of registration, Order date, etc people prefer dates per their locale setting. In Japan date will be entered in YY/MM/DD format; while in the United States date will be entered in MM/DD/YY format. 

To overcome the scenario of dates entered in different formats and to bring a standard input method, a date picker allows users to pick date from a pop-up calendar. The date will appear in the format that is set by the CRM user.  This way users can easily express their preferred date for the Date and Date-Time fields. The dates selected will appear in a specific format, which can be configured  under Date Format at the time of setting up the field. For example, if you have a Date of birth field in an Application webform, for which you have set the format as MM/DD/YYYY, all the dates chosen from the date picker will be displayed in a this specified pattern.


By default, the date format of the user under Personal Settings will be set as the initial format. Also note that, upon choosing a date format for the field, the same format will be applied across all the Date and Date-Time fields of that webform.

To add a date picker:
  1. Under the Fields section, drag and drop the Date or Date-Time field. 
  2. Click the settings icon. 
  3. In the Field Properties pop-up specify the following:
    Label: Enter the name for the date field. This will be displayed as the field name in the form.
    Date Format: Choose a date format from the drop-down. Dates picked by the users will be displayed in their chosen format.
  4. Under Options, select the required:
    (i) Mark as hidden field
    (ii) Mark as require field
    (iii) Add hint message
  5. Click Save.

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 Zoho CRM. This option is available only in the Paid editions. 

To add the option to upload files
  1. Under the  Advanced Fields  section, 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 Standard Captcha

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

To insert standard captcha 
  1. Under the Advanced Fields section, drag and drop the Standard Captcha field. 

Insert reCAPTCHA

reCAPTCHA from Google is a service that helps you prevent spam in your websites. When used in webforms it prevents the submissions that are made by bots or other spam services.

In Zoho CRM, reCAPTCHA v2 - "I'm not a robot checkbox" can be used in the webforms. The visitor would have to select the 'I am not a robot' checkbox and in some cases the visitor might also be presented with a challenge to validate the submission.

In order to include the reCAPTCHA in your websites and CRM webforms, you need to first register your website with Google reCAPTCHA.
Specify the following to register:
  1. Label - Enter a name which lets you identify the website that is registered for the reCAPTCHA.
  2. reCAPTCHA type - Select the ones that you will be using in your website. Make sure to select reCAPTCHA V2 - "I am not a robot" checkbox as the Zoho CRM webform supports only this type.
  3. Domains - Enter the domains for which you are registering. Once a domain is defined, the reCAPTCHA can be used for all the appropriate sub-domains.
  4. Owners - Specify the email address of the users who can access the admin console of the reCAPTCHA settings. They share the ownership rights over the site key.
To insert Google reCAPTCHA
  1. Click the Advanced Fields section.
  2. Drag and drop the reCAPTCHA field.
  3. In the reCAPTCHA Settings popup, do the following:
    1. In the Key Details section, enter the LabelSite KeySecret Key.
      You can get the Site key and the Secret key from the Google reCAPTCHA Settings page.
    2. Specify the Theme Preference.
      You can either choose the Default/Dark theme.
    3. Select the Acknowledgement for use checkbox and click Save
Notes
Note
  1. reCAPTCHA is available in all the paid editions of Zoho CRM.
  2. A webform can contain only one reCAPTCHA.
  3. Please ensure that the registered reCAPTCHA domain is the same as that of the Form Location URL.
  4. The domain validation for your reCAPTCHA has to be disabled if you have embedded your webform using iFrame code.

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 Zoho CRM, you can make sure this is addressed by using the  Privacy Polic y option. Using this option you can add a checkbox and customize 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. Under the Advanced Fields section, drag & drop the Privacy Policy field. 
  2. 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 webform. 

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 webform 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 webform 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 Add Hint Message checkbox. 
  4. Choose one of the following: 
    • Help Icon: Specify the help or hint text. For example, the date field can have the fotmat MM-DD-YYYY and provide the link URL. 
    • Link: Specify a text for the link and provide the link URL. 
  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 webform 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 Webform

Take a look at the webform 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

AlertNote : Action on Confirmation is a new enhancement that is available only for CN, JP, AU, CA and SA DC users. It will be made available for other DCs users in the coming weeks.
  1. Specify Form location URL. This should be the web page where the webform 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. Add multiple URLs by clicking the Add button after adding one location URL. If you plan to host the webforms in a location that you are unsure of at the moment, enter * in this field. This way, the form is accepted from any location from where it is hosted. 
  2. Enable Double opt-in :

    - Click the Customize Email Template option to draft a personalized email to your webform subscribers.

    - Click the Customize Confirmation Page to draft a customized confirmation message to your webform subscribers.
  3. If you enable double opt-in, you will have to Select Action on Confirmation. This happens only after the user confirms their email address. You can choose to redirect those users to a :
    - Custom URL : Specify a landing page URL. The visitor who confirms their email address after form submission 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 ) OR
    - Thank you Page : Redirects you to another page right after the visitor confirms their email address. This page delivers a confirmation, instructions, or any relevant details. The thank-you page provides a system-defined space to showcase a personalized success message post-submission. OR
    - Splash Message : You cannot choose to confirm through splash messages if you choose to enable double opt-ins.
  4. If you don't enable double opt-in, you must Select Action on Submission :
    - Redirect to Custom URL : 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 )
    - Thank you Page : Redirects you to another page right after clicking the Submit button. This page delivers a confirmation, instructions, or any relevant details. The thank-you page provides a system-defined space to showcase a personalized success message post-submission.
    - Splash Message : This option lets you display the submission message in a pop-up. 
  5. Choose one of the following options to AssignOwner to the records that are submitted via webform. 
    - 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.  See Also  Assignment Rules 
  6. Add relevant Tags , if applicable, from the list of existing tags for the module.  
  7. The chosen tag will be added to all of the records captured from the webform.
  8. Toggle on the Enable Double Opt-in  button. 
  9. Note that this option can be used only if the primary email field is added to the webform. When a webform with double opt-in is submitted, a confirmation email is sent to the visitor for additional verification.
  10. 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@zohocrm.com
  11. Enable AcknowledgeVisitor if you want to send an email to the person who submitted the webform. After you select an email template, you will be prompted to enter the From and Reply to fields. 
  12. Here you can choose one of these options in the drop-down list:
    --
    your account email address
    -- organization email address
    -- email address of the record owner
    -- other user's email address 
  13. Using Auto-ResponseRule: Use one of the existing autoresponse rules. Based on the details gathered using the webform, auto-response rules can be triggered to send specific emails. 
  14. When details gathered through the webform do not satisfy the auto-response rule criteria, then the email template selected in the second option will be sent as an acknowledgment email.
  15. Default response for all visitors: Choose an email template that will be used to send email to the leads generated via this webform. 
  16. 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 webform'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. 
  17. 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. 
  18. Check Request for Approval, if you want to submit the records for approval. See Also Approve Records 
  19. Note that users with the Approve Web-to-Leads/Contacts/Cases permission in the profile can approve the records.
  20. You can show or hide the form name on your webform by checking the Preferences checkbox. 
  21. Click Save


Notes

Note 


  1. Note that the limit for the Form location URL added depends on your Zoho CRM account plan.
    - Standard & Professional - 5
    - Enterprise - 10
    - Ultimate - 20
    - Developer - 5

  2. The  Request for Approval  option will help you validate the generated records manually, and then add them to the corresponding module in Zoho CRM. If this option is not selected, all the records generated through the webform are added directly to the corresponding modules. 

  3. If the domain name in the Location URL does not match with the URL where the webform 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: Publish the webform


You can publish the webform that you created using the following five formats:


  1. Source code

  2. Embed

  3. iFrame

  4. Link

  5. QR code





Webform Code to Embed


The code for the webform is available in Source codeEmbed 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 webform code 


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

  2. Copy the code and paste it in the website where you want the webform. 

  3. Click  Done




Notes

Note 


  1. In order to avoid spam, the generated Webform (HTML file) must be published in an active web server (Apache, Microsoft, IIS, etc.). 

  2. The webform will not work if you submit the form values from your desktop. 

  3. When the HTML code is generated for the webform, certain entities are hidden by default. If you remove those hidden entities, the webform will not work. Here is the code snippet that should not be removed from your webform code: 
    <input type="hidden" name="xnQsjsdp" value="" /> <input type="hidden" name="xmIwtLD" value="" /> <input type="hidden" name="actionType" value="" /> 



Exposing webforms as a link enhances accessibility, allowing easy sharing through various channels like emails or social media, streamlining user interaction and increasing engagement.


Let us look at an example to understand this better. Let's say you're running an email marketing campaign to gather customer feedback. You can include the webform link in your email content where recipients can conveniently access the form directly from their email. 


To use link format code 



  1. Select  Link from the list.


  2. Copy the code and paste it in the website where you want the webform. 



  3. Click  Done.


    Notes

    Form location URL will not apply for link format of the webform.




InfoThe link option is available for all paid edition and developer edition.


QR code format


The benefit of exposing webforms in QR code format in Zoho CRM is increased accessibility and convenience. Users can easily access and interact with webforms by scanning QR codes, such as in events, marketing materials, or any situation where physical or digital distribution of QR codes is practical.


For example, let's say you're hosting a business event or conference. You can generate a QR code linked to the event registration webform. Attendees can quickly register by scanning the QR code with their smartphones, simplifying the registration process and enhancing the overall event experience.


To use QR code 



  1. Select  QR Code from the list.


  2. Download the QR code as an image file and use it on printed materials, such as brochures or posters, to link individuals to the associated webform with a simple scan seamlessly.





  3. Click  Done.



Info

The QR code option is available for only the enterprise and above edition.


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 webform. 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 Zoho 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 webform 



  1. Go to Setup Channels Webforms


  2. In the  Webforms  page, choose the  Module  from the drop-down list. 

    The existing webforms for the selected module will be listed.

  3. Click Create Webform or choose one of the existing webforms. 

  4. In the webform 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 webform. When a webform with double opt-in is submitted, a confirmation email is sent to the visitor for additional verification.

  6. Click Save

  7. Publish the new webform's code that is generated on your website. 




Notes

You cannot enable double opt-in when splash message is chosen as action on submit.




Clone webforms


If you want to replicate an existing webform, then instead of creating it from scratch you can simply clone it. You can clone webforms within the same module only, however you can select a different layout than the existing one.


If the fields in the existing form are not present in the new layout you will be shown a warning, you may add the desired fields to the layout (from the module builder) or proceed with cloning.   



To clone the webform


  1. Select the desired webform from the list view and click the More icon.

  2. Click Clone.


  3. Select the desired layout from the drop-down list.
    You cannot change the module of the webform.

  4. In the webform creation page, add or remove fields or make desired customizations.

  5. Click Preview to see and confirm the changes.

  6. Click Next and Save.

  7. In the Embed Options page, select the Code Format (source, Embed or iFrame).

  8. Click Copy Code and Done to save the cloned webform.















    • Related Articles

    • Webforms - An Introduction

      Webforms 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 Zoho CRM. Non-technical users find it easy to design and publish ...
    • FAQs: Webforms

      1. What is a webform? 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 Zoho CRM. Non-technical users find it easy ...
    • Auto-response rules for webforms

      Webforms are a powerful tool for generating leads, as they serve as a direct line of communication between businesses and their leads by helping record and track every inquiry submitted via a business's website in their CRM tool. Businesses can then ...
    • Zoho CRM Webforms for Google Sites

      Webforms 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 Zoho CRM and to enable non-technical users to design and publish their ...
    • Setting up SalesIQ Integration

      Zoho SalesIQ integration with Zoho CRM, also called as Visitor Tracking, allows you to engage with people visiting your website through chat and push their information into CRM. You can also embed a chat widget on your webpage and converse with the ...