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.
Send information from JQuery code to jotformAsked by PriceIT on April 13, 2014 at 08:00 AM
Example: Say I have cart with items in it. I click send and the information sends to a hidden text box on my form.
You can take advantage of our "Field Prepopulator" app which should help you to generate the generate the url to pre-populate your form fields. Please check the following app: http://apps.jotform.com/app/field_prepopulator
The idea is to embed your form with the URL which will pre-populate your form. You may also like to check the following guide which should help you find out the field names: http://www.jotform.com/help/146-How-to-find-Field-IDs-Names Actually field names are used to pre-populate the form fields.
Do try this and get back to us if you have any questions.
I've explored that option but that's not what I need. I don't need fields to be pre-populated, I need text from my jquery script to be sent to a hidden field in my form so that I see it when the user submits it.
For example: User clicks submit and a text value (e.g. "ipod touch) is sent to the
hidden field in my form on jotform.
Maybe this is possible with using Events Attributes. But you'll have to use your form source codes (How-to-get-your-Form-Source-Code) in order to call this function.
If possible, let us know the exact jQuery script that the data would come from. We'll check that and would try to a possible solution.