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.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Can I add a button that will redirect to a url based on values in the form?

    Asked by dentpuzz on September 24, 2012 at 12:25 PM

    trying to query a google sites spreadsheet by building a custom url based on parameters entered by the end user.

  • Profile Image

    Answered by moonzkie on September 24, 2012 at 01:07 PM

    Hi,

    You can do that by adding a "Change Thank You URL after submission" conditions to redirect form users to certain pages based on the value. You can do that by:

    1. Select Setup & Embed tab

    2. Click Conditions

    3. Select Change Thank You URL after submission

    4. Click Next

    5. Fill in the conditions...

    6. Click Save

    Hope this helps. Please inform us if you have further inquiry. Thank you.

  • Profile Image

    Answered by dentpuzz on September 24, 2012 at 01:46 PM

    not quite what I'm looking for.  I need to have the value entered in the form field as part of the redirect url, so how do i use a field in my form as a parameter?

     

    e.g.  value entered on form is 'apples'

     

    I want the redirect to be www.somesite.com?fruit=apples

  • Profile Image

    Answered by moonzkie on September 24, 2012 at 01:51 PM

    Sorry to tell you, but that such option is not yet available, maybe in the future.

    Thank you.

  • Profile Image
    JotForm Support

    Answered by NeilVicente on September 24, 2012 at 02:57 PM

    @dentpuzz

    In addition to what my colleague has mentioned, it may be possible to append field values as a URL parameter in links embedded on your Thank You message.

    For example:

    http://www.somesite.com?fruit={fruit}

    will appear as http://www.somesite.com?fruit=apples in the Thank You message.

    Do note, however, that this will require your users an extra step of clicking the link.

    If you want a seamless transition, you will have to use a custom PHP script that will parse the field values then append it to a URL to which the user will be automatically redirected.

    If your server has PHP enabled, we can help you with creating this simple script.

  • Profile Image

    Answered by dentpuzz on September 26, 2012 at 09:15 AM

    This is on Google sites, so I think PHP is probably out of the question!  However, the link will work fine.

    Thank you all for your assistance!