Form Conditions: Is it possible to disable an option in the multiple-choice field based on the user's answers?

  • ika_kirchenfeld
    Gefragt am 2. Februar 2024 um 11:27

    Guten Tag

    Ich möchte gerne ein Anmeldeformular erstellen mit folgenden Bedingungen:

    • es gibt etwa 15 Kurse zur Auswahl
    • Schüler*innen wählen 4 Kurse, davon 2 Kurse mit 1. Priorität und 2 Kurse mit 2. Priorität
    • Idealerweise werden diejenigen Kurse, welche als 1. Priorität gewählt wurden, in der 2. Priorität gar nicht mehr angezeigt (und umgekehrt)
    • Die Resultate sollten möglichst gut sortierbar sein in Excel, damit wir eine Kurszuordnung mit möglichst wenig Aufwand erledigen können

    Gibt es ein Widget, welches Sie mir für diese Art Anmeldung empfehlen würden?


    Vielen Dank

  • Abdul Jotform Support
    Geantwortet am 2. Februar 2024 um 13:45

    Hi IKA,

    Thanks for reaching out to Jotform Support. Our German support is unavailable at the moment. In the meantime, we will reply in English; please let us know if you prefer to talk to someone in the German language. I’ll need a bit of time to look into this. I’ll get back to you as soon as I can. 

  • Abdul Jotform Support
    Geantwortet am 3. Februar 2024 um 14:18

    Hi IKA,

    Thanks for patiently waiting. Unfortunately, the feature you’re looking for isn’t currently available, but rest assured, we’re always working to add new services and features to Jotform. However, after some investigations, we have found a workaround, which you can test here. Let me walk you through it.

    1. In Form Builder, add two multiple-choice fields.
    2. Click on the Gear Icon of these fields, then set the Entry Limits from the surveying tab to 2 selections only:Form Conditions: Is it possible to disable an option in the multiple choice field based on the users answers? Image 1 Screenshot 80
    3. Add two calculation widgets so that they get their values from each one of the multiple-choice fields:Form Conditions: Is it possible to disable an option in the multiple choice field based on the users answers? Image 2 Screenshot 91

    In the above image, you can see that the first calculation widget will copy the values of the selected options in the first multiple-choice field; the same happens also with the second calculation widget, it gets its value from the second multiple-choice field:

    Form Conditions: Is it possible to disable an option in the multiple choice field based on the users answers? Image 3 Screenshot 102Form Conditions: Is it possible to disable an option in the multiple choice field based on the users answers? Image 4 Screenshot 113

    All you have to do in order to add their prospective fields is click on the Add Field Button in the widget setting. For more information, you can follow our support guide on How to Perform Form Calculation Using a Widget.

    5. Hide the calculation widgets so that they don't appear for the form fillers:

    Form Conditions: Is it possible to disable an option in the multiple choice field based on the users answers? Image 5 Screenshot 124

    6. Add a paragraph field, then type this error message in it:

    Form Conditions: Is it possible to disable an option in the multiple choice field based on the users answers? Image 6 Screenshot 135

    Now, we need to add a condition to prevent the form submission in case the user adds the same values in both multiple choices. Let me walk you through it.

    1. In Form Builder, in the orange navigation bar at the top of the page, click on Settings.
    2. Click on Conditions on the left of the page.
    3. Now, click on Add a New Condition, and then click on Show/Hide Field. Then add the below condition:Form Conditions: Is it possible to disable an option in the multiple choice field based on the users answers? Image 7 Screenshot 146
    4. Click on Save.

    That's it. Give it a try, and let us know if you have any questions.

  • ika_kirchenfeld
    Geantwortet am 5. Februar 2024 um 02:47

    Dear Abdul

    Thank you for your detailed and very helpful reply. I tried it and it worked instantaneously. What a cool workaround!

    Thanks again and happy Monday,

    IKA