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

    Adding conditional logic within the widget

    Asked by mlittaur on December 08, 2015 at 07:27 AM
    Hi,
    Thank you. Nice widget. I need to add conditional logic within the widget is this possible? Basically the forms is as follows:
    Choose bank (if other then show text field, if bank a show address a)
    Account ownership (if corporate show name of company field)
    Add another bank account? yes/no (yes gives another bank field, no prompts agree and submit)
    How do I do that
    FYI: I have posted another query on collecting sensitive bank info.
    conditional logic
  • Profile Image
    JotForm Support

    Answered by Welvin on December 08, 2015 at 07:42 AM

    Unfortunately, you cannot use the widget in the conditional logic. There is no option in the condition to select the widget options. You will have to use our basic fields in order to do this.

    For example: https://form.jotform.com/53412749459969 

    Here's our guide on how to show/hide a field in the form:

    http://www.jotform.com/help/316-How-to-show-or-hide-a-field-in-the-form-based-on-the-other-field-input-or-selection

    Please do not hesitate to get back to us if you need further assistance. 

  • Profile Image

    Answered by mlittaur on December 08, 2015 at 08:45 AM
    right but how can I i then let the user create extra fields? Is there a smart way to create extra forms?
    ...
  • Profile Image

    Answered by mlittaur on December 08, 2015 at 09:45 AM
    Ok so if the widget doesn’t allow conditional logic I can’t make a form a user can copy with conditional logic embedded. Can you help me think along a creative solution?
    What about:
    Can I use conditional logic or linking to another form to let the user add as many pages as they want? This would mean you fill in the Main form —> click add page/form—> new form opens with a page —> if you need more click again a new form is created —> if you click finish all forms are submitted under one client.
    This is an example of what I want to achieve. If you select under account ownership ‘corporate’ you’ll see the conditional logic in action. I want to be able to add blocks like that.
    https://americansoverseas.formstack.com/forms/untitled_form_2
    ...
  • Profile Image
    JotForm Support

    Answered by Welvin on December 08, 2015 at 09:52 AM

    The widget is ideal for adding dynamic fields, but since you cannot use it in the conditional logic. You will have to our basic fields. To add extra fields, you can duplicate the fields and then show them by group as explain from this guide: 

    http://www.jotform.com/help/297-Show-or-Hide-multiple-fields-at-once-using-form-collapse-tool

    I have updated my form, please check again. If you will allow users to add 5 banks, you will have to duplicate the section by 5.

    https://form.jotform.com/53412749459969

    Kindly check and let me know if this will work for you.