Share This Post:

Create a web form to receive survey results | Survey Automation

A web form can be used to add a new customer record or update an existing one. A web form serves as an endpoint to receive HTTP POST. In our example, the form is used to receive the survey results.

To create a web form, select Setup, Website, Form from the main menu. Here we only need two fields: Rating and Comment.

HTML Form Source Code

Here we assume you understand HTML FORM and HTTP FORM processing. If you are unfamiliar with these topics, you can skip the details. All you need to know is that the web form defines how survey results can be submitted to Voicent CRM.

To get the HTML source code, select the newly saved web form, choose Get HTML Source Code.

<form method="POST" id="webform" action="http://localhost:8155/vxcrm.jsp">
    <div>
        <h3 id="form_sec">Survey Result</h3>
        <input name="vgformid" type="hidden" value="158951">
        <input name="vgformtoken" type="hidden" value="CEC948EF60875">
        <input name="vgformid2" type="hidden" value="0">
        <input name="action" type="hidden" value="add">
        <input name="MOD" type="hidden" value="CUS">
        <input name="LEAD_SOURCE" type="hidden" value="">
        <div><div>
           <div>
               <div>
                   <label>Rating</label>
                   <input name="CF_1" type="text" id="CF_1_input" value="">
               </div>
           </div>
        </div>
    </div>
    <div>
        <div>
            <div>
                <div>
                    <label>Comment</label>
                    <input name="CF_16" type="text" id="CF_16_input" value="">
                </div>
           </div>
        </div>
    </div>
    <div>
        <div>
            <div>
                <button id="webform-submitbtn" type="submit" data-style="expand-left">
                    <span>Submit</span>
                </button>
            </div>
        </div>
    </div>
</div>
</form>

The rendering the the above form shown below. It is a basic form and you are free to change the style anyway you want. What’s important is the input values in the form.

Next: Create an online survey page

Share This Post:

This entry was posted in Developer, Product Usage. Bookmark the permalink.