Help
- A. Form Creation and Editing
- B. Email Setting
- C. Entry management
- D. Logic Settings
- E. Advance Settings
- I. Simple HTML tag
- II. Default Custom CSS
- III. Default University ID
- IV. Merge tags
- F. Other resources
E. Advance Settings
IV. Merge Tags
Q: What is merge tags?
A: Merge tags is the tag mapping against with form fields / elements. It can be used for URL Parameters, Email Content and Send Form Data.
Q: How to check the form's Merge tags?
A: You can go to the form's "notification", expand "more option" under "Send Notification Emails to My Inbox" or "Send Confirmation Email to User", you will see "merge tags" link just over "hide options".
A. URL Parameters
You can populate default value of your form fields using URL parameters
The form has a Your Name field and we would like to populate the default value for this field using URL parameters.
Let say we have a form with URL like this: https://cloud.itsc.cuhk.edu.hk/webform/view.php?id=7
First we need to know the HTML element name of the Your Name field. To do this, right click on the form and view the HTML source of the form. You should see something like this:
Look into the name attribute of the field and you can see that the field is having name: element_1_1 and element_1_2.
Now to populate the value into the field, simply put the name of the field into the URL and pass the value as well, like this:
https://cloud.itsc.cuhk.edu.hk/webform/view.php?id=7&element_1_1=John&element_1_2=Doe
B. Email Content
You can customize the email content with the data filled by user by using merge tags.
C. Send Form Data to Another Website
1. Send form data after submission
If you "Redirect to Web Site" when "Submission Confirmation", you can also parse form data to the website with HTTP get parameters/query string by using the merge tags.
2. Redirect to web site after submission
You can also send form data to aonther website through setting "Send Form Data to Another Website" under "Notification".
You can build the parameters to be send by just simple the interface provides.