-
devcpadvPerguntado em 15 de fevereiro de 2024 às 13:34
Boa tarde, gostaria de saber como uma questão pode se relacionar com a anterior da seguinte maneira:
Pergunta 1 - Se possui filial, quantas?
Quando o usuário inserir o número indicando a quantidade, a questão abaixo deve abrir a quantidade de campos referente a esse número.
Segue em anexo como gostaria que ficasse.
-
Danilo Jotform SupportRespondido em 15 de fevereiro de 2024 às 16:04
Hi devcpadv,
Thanks for reaching out to Jotform Support. Unfortunately, our Portuguese Support agents are busy helping other Jotform users at the moment. 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, keep in mind that you'd have to wait until they're available again.
Now, let me help you with your question. I just want to confirm if I got your concern correctly. Are you trying to show the number of fields in the Input table element based on the selection from the dropdown? Unfortunately, when you use the Input table Element and use conditional logic to show that it will show all the input tables.
I would suggest adding multiple Input tables Element and name each row Sócio 1, Sócio 2, Sócio 3, Sócio 4. Let me show you how:
- Click on the Add Form Element menu on the left side of the Form Builder page.
- Under the Basic tab, scroll down and drag and drop the Input table element to your form.
Then, you need to add Dropdown option for the selection of how many they want:
After that, you need to create a Show/Hide Conditional logic based on the selection in the dropdown element. Let me show you how:
- In Form Builder, in the orange navigation bar at the top of the page, click on Settings.
- Click on Conditions on the left of the page.
- Now, click on Add a New Condition and then click on Show/Hide Field.
- Set the conditions like you see below:
- IF: How many
- STATE: Is Equal To
- VALUE: 1
- DO: Show
- FIELD: Quadro societario 1 and so on.
Here's the result of my demo form :
Give it a try and let us know how it goes.