JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
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.
How to catch form page URL with submissionAsked by 2adorable on March 02, 2016 at 06:55 PM
prepopulate form field with information on the page..
i want to prepopulate a form field with information that is on that particular page ...
for example ... i work at a car dealership and there is a separate page displaying each car... on every page i am going to paste in a script of my jotform form.. is there a code i can use to grab the url and paste it in a hidden field so that i can know which page the person applied on or... grab information from the page it self.. preferable the url.
It is possible to prepopulate the form fields by adding URL parameters to your form URL. Here's a guide that can help you set it up: Prepopulating fields to your JotForm via URL parameters
If you need further assistance, do let us know and we would be glad to assist you.
check this link out http://wefinancecars.ca/listings/2007-mazda-mazda3-sedan-grey-3999/
what is i put a credit app on that page and when the customer fills out a credit app i want a hidden field that shows "2007-mazda-mazda3-sedan-grey-3999"
how can i achieve this
Can you please describe more what you wanted to achieve.
You can achieve this by embedding the form using its script embed and the pre-filling the fields with data from the other fields on the page.
yes thats what i want but ... i want it to automatically grab the vehicle type make and model and enter it into a hidden field in the form.. i have over 200 cars i cant use your solution for each and everyone.
i am going to add a form to each page that has a car on it and i want to know what car the customer is filling out a form for but i do not want a extra question asking the customer that
or even if i can use some sort of code to insert the url of the page they applied on then i would know the car
Then you can add a hidden input field where you can store the URL.
1. Add the hidden field and determine the ID by clicking the gear icon and selecting Edit Properties.
2. You can see the ID of the field in the properties. In this example, the ID is input_22.
var location = document.URL;
document.getElementById("input_22").value = location;
If you need further assistance, do let us know.
where do i enter the script code exactly? i tried it and it didnt work i created a form field i made it hidden and pasted the souce code and the imput ID was input_12
To catch the web page address I would like to suggest trying a Get Form Page URL widget. Drag and drop it to the form to collect the submission web URLs.
If you need any further assistance, please let us know.