-
PriceITAsked on April 13, 2014 at 8:00 AM
Is it possible to send information from a jquery script to my jotform form by any means (not using PHP; possibly jquery or javascript)?
Example: Say I have cart with items in it. I click send and the information sends to a hidden text box on my form. -
Ashwin JotForm SupportReplied on April 13, 2014 at 9:58 AM
Hello PriceIT,
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.
Thank you!
-
PriceITReplied on April 13, 2014 at 10:03 AM
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. -
Welvin Support Team LeadReplied on April 13, 2014 at 11:11 AM
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.
Thanks