Is this possible without submitting?

  • scholaschools
    Asked 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 Support
    Replied 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.

  • scholaschools
    Replied 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!

    1614401812 6039d1141e45d  Screenshot 10

  • scholaschools
    Replied 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.

    1. Hidden field for value you want to append, let's call it source
    2. Hidden field with base url, let's call it baseurl
    3. Hidden field for output url, let's call it outputurl

    Then,

    1. 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.
    2. store yoursecondform.com?source= as the default value for {baseurl}
    3. Calculate the value of outputurl similar to this (although I used different tags):


    1614402118 6039d24623378  Screenshot 10


    Then just create a paragraph field:

    1614402582 6039d4164ae97  Screenshot 21


    ALL SET!

  • Bojan Support Team Lead
    Replied 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.