What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
Enabling cookies for a JotFormAsked by kunalgupta0002 on September 15, 2014 at 01:30 PM
Can cookies be enabled for the form where affiliates will be sent to in order to track them and properly populate fields (The previous ticket is in regards to the answers for populating form).
Unfortunately this is not currently possible. The closest we have is being able to provide the previous page visited before coming to your form. Pre populating field data based on a cookie ID is not possible, only populating data via a URL.
my question is a liittle different.
I need this feature to track the affiliate referral.
1. Someone referred a customer to my website- www.mywebsite.com/index.php?affiliateid=10
2. The customer will look around and visit some other pages and then if he is interested he'll fill the contact form.
3. Till then I want the value of hidden field affiliate Id to be prefilled (here it is 10)
Please try using our Get Referrer widget: http://widgets.jotform.com/widget/get_referrer. Let us know if this works for you or not.
To add the widget: http://www.jotform.com/help/252-How-to-Add-a-Widget-to-your-Form
For reference, it is possible to populate form fields with a cookie value.
You have to add a hidden field to the form using the hidden box widget. Then embed the form using the source code. Find the hidden field and set the value="<?php echo $_COOKIE['cookie_name'] ?>"
Save the page as php and voila!