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

    How can I create two options on a form to go to different fields which would be required.

    Asked by convenus on June 16, 2011 at 04:52 AM

    I am trying to create two options to secure a bedroom reservation. The first would be Purchase Order so no payment info just a PO number and company name. The second would be by credit card and I need the required info. I currently have the room choices showing a total and different sections for each payment method but this allows someone filling in the form to bypass both sections as i cannot make them required fields for obnvious reasons - they need to pick one of them - any help greatly appreciated

    Page URL:

  • Profile Image
    JotForm Support

    Answered by abajan on June 16, 2011 at 09:04 AM

    Hello convenus

    Thanks for your query. In a ntshell, the solution is to make all three fields required. So, the first field would ask the user which payment method is preferred and according to the choice selected, either the purchase order or credit card fields would be revealed. Since the payment option field would be set to "Required", no default choice is pre-selected: the user must take an action.

    Perhaps the best way for me to illustrate such a setup would be to show it in action on a live form. Test the form at http://www.jotform.com/form/11663630504 and if you think the way it works would suit your purposes, clone it, have a look at its saved conditions and use similar conditions in the form alluded to in your post.

    Be sure to let us know if you were able to successfully implement the above solution. If it does not meet your requirements, we may be able to come up with a more suitable method.


    ~ Wayne

    UPDATE: Now that I've looked at your form again, it's obvious that more than two fields need conditions set on them. I will have to give this some more thought but I'm sure the same principle used in the example form should work.

  • Profile Image

    Answered by convenus on June 16, 2011 at 09:59 AM

    Hey Wayne - solved it - I just added all of the relevant fields required to individual conditions and it works great. thanks to your reply and helpful link to an example not only have I resolved this particular issue but I now understand how conditions work - i am delighted Thanks


  • Profile Image
    JotForm Support

    Answered by abajan on June 16, 2011 at 10:04 AM

    We're delighted that you're delighted! :)

    Should you require help with anything else related to your forms or perhaps you just need info on a feature or two, be sure to let us know.

    ~ Wayne