-
Samer Al JamalAsked on October 29, 2024 at 3:54 AM
Hello. In my form, there are hidden fields (questions). Can I hide those in my cards? For example, a teacher is to choose a student's name. This student might be in Class 7 A, or 7B, or 7C. The 3 classes are hidden in the form and upon choosing a section (7A for example), the teacher chooses the student's name in that particular section. So in the card view, I want to show the student's name in 7A only and hide 7B and 7C (which were originally hidden in my form because they were not chosen since the student is in 7A).
Is that possible? Thanks in advance.
-
sjamal107Replied on October 29, 2024 at 6:35 AM
Hello and thanks for your answer. However, it seems I didn't explain the problem well. Let me iterate the issue again:
One teacher may choose a student in 7A (in this case, I want to hide 7B and 7C fields in the card). Another teacher may choose a student in 7B (in this case, I want to hide 7A and 7C fields in this card) and so on. So, not all cards will have the same fields. Is that possible?
Thanks in advance.
-
Mary JotForm SupportReplied on October 29, 2024 at 8:25 AM
Hi Samer,
Thanks for reaching out to Jotform Support. Jotform's Conditions feature lets you show questions based on the answers that people gave. Let me show you how to set it up:
1. On your My Forms page, hover your mouse over your form and click on Edit Form.
2. In Form Builder, click on the Add Form Element menu and drag-drop the fields you want to use as follow-up questions (I used Short Text fields in this example).
3. Click on the Type a Question text and change it to the question you want to use.
4. Now, right-click on the fields, and in the menu that opens, click on Hide.
Now, let's set up the conditions:
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.
4. Set the conditions like you see below:
Set up conditions for all the choices for your question. Check out the screencast below to see how your form will work after setting up the Conditions:
Give it a try and let us know how it goes.