-
XLAutomationAsked on August 22, 2017 at 9:06 AM
Hi, I am using the Embed Jotform plugin to include a number of forms on our website. I need to supply a parameter to one of the forms as the user has already pre-selected on of the options of the form. This works on our existing Google Sites but not on Wordpress that we are moving to.
Google Sites page and with Form that defaults using the parameter ?shareTrade=1000
http://www.xlautomation.com.au/excel-spreadsheets/buy/share-trade-tracker-subscription-half-yearly
Word Press site that does not work with the parameter using the Embed Jotform
http://www.new.xlautomation.com.au/excel-spreadsheets/buy/share-trade-tracker-subscription-monthly
See the screenshot for the code that is included to the Word Press site
-
candyReplied on August 22, 2017 at 10:31 AM
I have cloned your form named "Share Trade Tracker Subscription Payment" on my side.
As far as I investigated the form on my end, the following parameter in order to prepopulate the related field is not correct: ?shareTrade=1000
You could use it if shareTrade would be a textbox. However, your shareTrade named fields are radio buttons that can not be prepopulated with a number as seen below:
Which radio button do you want to prepopulate?
If you want to prepopulate the first one, you can use the following URL:
https://www.jotform.com/form/71807082402955?shareTrade[][0]=1
If you want to prepopulate the second one, you can use the following URL:
https://www.jotform.com/form/71807082402955?shareTrade[][1]=1
If you want to prepopulate the third one, you can use the following URL:
https://www.jotform.com/form/71807082402955?shareTrade[][2]=1
For further detailed information please check the following guide: https://www.jotform.com/help/71-Prepopulating-Fields-to-Your-JotForm-via-URL-Parameters
So, If you want to prepopulate your form that embedded in your Wordpress website, you can use the following URLs:
I hope this helps. Please let us know if you need any further assistance regarding this issue.
-
XLAutomationReplied on August 22, 2017 at 4:59 PM
OK I was able to use the URL's at the end of your response to achieve what I was looking for.