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.
-
Can I pass variable values to a field in jotform?
Asked by jorein on March 02, 2012 at 12:39 PMHi,
I have a simple form that allows a customer to upload a file after they have made a purchase from my Shopify website. Since I will know the customer's contact information (email, phone) and order # based on their Shopify purchase I would like to pass and prepopulate the jotform with the values for email, phone and order # prior to the customer submitting their files. In this way I will be able to ensure that I can match the file uploads to the customer's order on Shopify.

JotForm email uploads purchase -
Answered by jorein on March 02, 2012 at 01:41 PMIn closer but can't figure out how to insert into the "area code" and "phone number" values of the phoneNumber field:
<script type="text/javascript" src="http://form.jotform.us/jsform/20591112494146?email=JohnTest@meMan.com&order8=0101&phoneNumber[#input_6_area]=949&phoneNumber=[#input_6_phone]=231-2900"></script>
Any ideas?
-
Chief Technology Officer
Answered by eee on March 02, 2012 at 06:28 PMHi,
Example :
<script type="text/javascript" src="http://form.jotform.us/jsform/20591112494146?email=JohnTest@meMan.com&order8=0101&phoneNumber[area]=123&phoneNumber[phone]=333"></script>
Kindest Regards,
Ertugrul.
-
Answered by jorein on March 02, 2012 at 10:30 PMThank you - Ertugrul! I was able to get my parameters passed over from Shopify cart to Jotform with the following:
<script type="text/javascript" src="http://form.jotform.us/jsform/20591112494146?order={{ order_number }}&yourName={{ customer.name }}&email={{ customer.email }}"></script>
Is there any way that I can make the form fields in jotform "non-editable" or "display only"? Since I will have passed a value for order_number and email I don't want the user to be able to change the value in the jotform.
Thanks!
John
-
JotForm Support
Answered by NeilVicente on March 02, 2012 at 11:14 PM@John
I have answered your latest query in the other thread you have opened -
http://www.jotform.com/answers/81259-Make-a-text-box-non-editable-or-display-only-field#1
-
Answered by macklindamon on April 18, 2012 at 03:58 AMHi Jorein I really want to use this script. Can you please tell me how you did this? I'm putting this in the additional scripts with my own jotform uid and i'm getting nothing??
Any help would be very appreciated.
Many thanksDamon
-
JotForm Support
Answered by liyam on April 18, 2012 at 04:23 AMHello macklindamon, you can start a new thread and provide us details about the form that you have, as well as the fields that you wish to have pre-populated.
Thanks.
-
Answered by Pearl on April 11, 2013 at 02:54 PMI designed a survey. I got survey submission. But I found when I showed the data in the Excel, the chosen item is in Language, not numeric. I needed to recode them. I am wondering how I design the survey, so i can get excel data that i do not need to recode. Thanks
-
JotForm Support
Answered by Mike_T on April 11, 2013 at 03:21 PMPearl, please create a new thread about your issue. We will do our best to help you.
We are trying to stick with one question per forum thread in order to provide efficient support.
-
