How do I create a conditional in one form that is reliant on a different form?

  • Profile Image
    JFedGMW
    Asked on September 06, 2017 at 12:10 PM

    Here's the scenario: we would like to create a several forms that require the user to complete a code of conduct form. Instead of including the code of conduct material as part of these several forms, I would like to make that a separate form with a question that asks "Have you completed the Code of Conduct form?". If the user clicks yes, then they can continue and submit the form. If the user clicks no, then they must also complete the Code of Conduct form before submitting the original form. 

    Is there a means of validating that the user has already completed a form, as in this case, the code of conduct form? 

    If not, what would be an alternative? Should we include the secondary form (i.e., code of conduct) as a separate page on the form which is hidden unless the answer to "have you completed a code of conduct form?" is no? 

  • Profile Image
    BJoanna
    Answered on September 06, 2017 at 01:40 PM

    It is not possible to create a condition in one form that will trigger some function on the second form. 

    You can include the secondary form as a separate page on the first form. 

    You can also protect your second form with a code (i.e. 'code of conduct'). You can hide the fields on the second form if the 'code of conduct' is not correct. 

    You can provide your users the 'code of conduct' on the Thank You page of the first form, or you can send them the 'code of conduct' via Autoresponder email. 

    Here is my first demo form: https://form.jotform.co/72485247098871 

    And second form: https://form.jotformpro.com/72484932598977 

    'Code of conduct' is 12345. It will be shown on the thank you page of the first form and inside of the Autoresponder email of the first form.

    I set this condition inside of the second form.

    Hide or Show Multiple Fields at Once

    Feel free to test and clone my forms. 

    Hope this meet what you are looking for.