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.

  • Profile Image

    Form fields

    Asked by andrewroberts on February 10, 2012

    How do I create a hidden hidden field which is only displayed if the answer to a question is yes for example.

     

    So  you have a question in a form which says:

     

    Have you been told the size of your garden. If the person enters Yes then a hidden field will appear asking them for the garden size. If they enter no then I want want to immediately hyperlink to another webpage.

    size hidden
  • Profile Image
    JotForm Support

    Answered by abajan on February 10, 2012

    The first part of that functionality can be done by setting a condition to display the field that asks for the garden's size only if "Yes" has been selected in the "Have you been told the size of your garden?" field.

    However, there's no facility in the form builder to setup a condition that automatically redirects to another page. What you can do is place the hyperlink in a free text field and set a condition to display the link only if "No" is selected in the "Have you been told the size of your garden?" field. Another option would be to have the other web page displayed as the "thank you" page if "No" is selected:

    Click image to zoom


    Here's a form
    that demonstrates the said functionality. To understand how it was configured, clone it and have a look at its conditions by clicking the pencil icon, as illustrated in the following screenshot of another form's saved conditions:

    Click image to zoom


    If you need clarification on anything, do let us know.