-
igorcarvalho1407Perguntado em 7 de outubro de 2024 às 11:35
Criei um formulário com uma série de questões condicionais, que só aparecem para quem marcou uma determinada resposta na pergunta anterior. Contudo, as questões que só aparecem para alguns são obrigatórias. Então no momento de entrega do formulário, ele não permite entregar devido ao não preenchimento das questões que são obrigatórias mas que não estão marcadas para aparecer para aquele respondente específico. Ele redireciona para página "Go back and fix". Como eu faço para que isso não impessa o envio do formulário?
-
Joeni Jotform SupportRespondido em 7 de outubro de 2024 às 14:02
Hi Igor,
Thanks for reaching out to Jotform Support. Our Portuguese Support agents are busy helping other Jotform users right now, so I'll try to help you in English using Google Translate, but you can reply in whichever language you feel comfortable using. Or, if you'd rather have support in Portuguese, let us know and we can have them do that. But, it might take a while until they're available again.
Now, coming back to your question, I cloned your form and tried to replicate the issue but I ran into the same issue. Take a look at the screencast below:
The error message occurs when the hidden field is set as required and it leaves unanswered due to the condition set. Please note that if the field is set as Required, it is mandatory to be filled out before submitting the form. To fix this, I would recommend unrequiring the field that has conditions and is set as hidden when the condition has not been met. Let me show you how:
- In Form Builder, click the Gear icon of the field.
- Under the General tab, Toggle Off the Required button.
Give it a try and let us know how it goes.
-
igorcarvalho1407Respondido em 7 de outubro de 2024 às 17:47
All right, we can talk in english.
I understand what you've done. But isn't there some way of keeping the questions compulsory without them preventing the form from being sent?
I'd like questions that don't appear to the respondent to be ignored. Is it possible to do this by hiding them in the conditions?
-
Joeni Jotform SupportRespondido em 7 de outubro de 2024 às 18:19
Hi Igor,
Yes, you can set a condition to disregard the field even if it is set as Required by using an Enable/Require/Mask Field. Since you're hiding the required field when the user selects the "NÃO" option, I would recommend you Disable the field instead of Hiding it. Here's the screenshot of the sample condition:
Let me show you how:
- In Form Builder, click Settings on the orange navigation bar.
- On the left side menu, select Conditions and click the +Add Condition button.
- Select Enable/Require/Mask Field in the Condition Menu.
- Set up the condition above and click Save.
Give it a try and let us know how it goes.