-
scholaschoolsAsked on February 26, 2021 at 11:33 AM
Is this possible without submitting?
For example, I have Form 1 with a hidden field named 'source' and then many links around the web with jotform-1-url.com?source=WHATEVER
So when they go to Form 1, that source field is now populated with WHATEVER
Without submitting, we offer the option to actually go to a different form (in case they were on the wrong one, or need another option, etc.) but want to carry over the same source.
So I need jotform-2-url.com?source={source} ... and for that {source} to be WHATEVER (in this case) despite not having actually submit the form.
Will it work that way or am I missing something?
-
Basil JotForm SupportReplied on February 26, 2021 at 3:47 PM
Hi,
I don't believe it's possible to pass the data if the form wasn't submitted.
Please let us know if you gave any further questions.
-
scholaschoolsReplied on February 26, 2021 at 11:27 PM
Hi Basil,
How can we figure out a way? This is a "relatively simple" with spreadsheets other applications -- take a value, append it to the value in another cell or input.
Somebody asked this same question in the forums here in 2012 -- surely 9 years has gotten us closer!
-
scholaschoolsReplied on February 27, 2021 at 12:11 AM
Done.
If it helps anybody else... I have it set up to create two different urls - one for Spanish, one for English.
- Hidden field for value you want to append, let's call it source
- Hidden field with base url, let's call it baseurl
- Hidden field for output url, let's call it outputurl
Then,
- yourform.com?source=TEST -> stores TEST as {source} -- but remember this could change, which is the whole point. If it were static, we could just copy it.
- store yoursecondform.com?source= as the default value for {baseurl}
- Calculate the value of outputurl similar to this (although I used different tags):
Then just create a paragraph field:
ALL SET!
-
Bojan Support Team LeadReplied on February 27, 2021 at 6:41 AM
Greetings.
Thank you for sharing the solution with us. I'm sure it will help someone in the future.
Let us know if you have any additional questions.