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

  • Profile Image
    convenus
    Asked 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

  • Profile Image
    abajan
    Answered 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.

    Thanks.


    ~ 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
    convenus
    Answered 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

    Simon

  • Profile Image
    abajan
    Answered 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