There are three areas in which you need to focus:
control3333333-1=John
means that the field with the ID control3333333-1
has John
as the prefilled value. The field with the name control3333333-2
is prefilled with the value Doe
, and so on. Field – value pairs are linked through the operator &
. To identify form field names, inspect the form code using a browser inspection tool.
When the form field is split into several subfields, you need to add its number after the ID . For example, the Name field contains a First Name and a Last Name. These two have separate IDs: First Name – control33333333-1, Last Name – control33333333-2.
This is the extra part which needs to be added to the embed code. Replace the control ID with your own field’s ID.
data-custom-vars="control33333333-1=John&control33333333-2=Doe&control55555555=johndoe@company.com">
Your email address will not be published. Required fields are marked *
Here is a list of the most frequently asked questions. For more FAQs, please browse through the FAQs page.
Hi there,
We embedd forms on our website using javascript. If I apply the example above, I prefill the form with 1 standaard value per field. This could also be done by adding a default value in the form itself.
I would love to be able to have the value defined by the parameter specified in the URL of my website. For example, I send an email to my followers with a unique link per subscriber. This link will thus define the prefilled value.
For example:
http://www.mydomain.com?control%5Bid field firstname]=Sam&control[id field lastname]=Rippinger
Is something like this possible?
Thanks in advance
Hello, thank you for leaving a comment. This can be achieved with a custom script. We can create the script for you, and this would be considered custom work. The custom work price will be determined based on the complexity of the script. Please email us at customercare@123formbuilder.com for more details! Have a great day!
When I have some questions to answer is on this page
Hi Araceli!
If you have any questions at any time, please feel free to leave a comment or send an email to support@123formbuilder.com
Have a great day!
Hi! I simply wish to give you a big thumbs up for your great info you have got here on this post. I will be returning to your site for more soon.
I needed to thank you for this good read!! I certainly enjoyed every bit of it. I’ve got you book marked to check out new stuff you post…
There is certainly a great deal to learn about this topic. I like all of the points you have made.