-
Henrique_BambuiPerguntado em 29 de janeiro de 2024 às 08:27
Bom dia, Estou criando um formulário onde o nosso fornecedor vai preenher a quantidade de funcionários que ele vai inserir na nossa empresa para fazer tal serviço. De acordo com a quantidade precisamos mostrar 2 telas por funcionário que é a tela onde ele insere o nome do funcionário e outra tela que ele irá carregar toda a documentação daquele funcionário.
Eu criei um formulário onde tem 100 telas no total, que pode ser usada para 50 funcionários. porém na hora de colocar a condição para tanta tela não estou conseguindo fazer uma regra para todos. Se a quantidade de funcionários por 10 por exemplo, vamos mostrar 20 telas e ocultar as outras 80. Existe uma forma mais simples de fazer tal processo?
Detalhe na tela de upload dos arquivos é uma tela multipla para que ele carregue mais de um documento.
-
Anna Jotform SupportRespondido em 29 de janeiro de 2024 às 10:47
Hi Henrique,
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 understand that you want to hide a certain number of fields depending on the employee count and you are having issues setting conditions on them. You can try duplicating the conditions and removing the fields that will be hidden one by one depending on the employee count. Let me show you how:
1. In Form Builder, in the orange navigation bar at the top of the screen, click on Settings.
2. Click on Condition on the left side of the screen.
3. Hover over your mouse to the conditions and click the Gear icon then select Clone.4. Hover over your mouse to the cloned condition and click the Pencil icon then change the condition settings depending on what you want. Check out the screencast below for the result:
That's it. If that’s not exactly what you’re looking for, can you explain a bit more so I can help you better?
Give it a try and let us know how it goes.
-
Henrique_BambuiRespondido em 29 de janeiro de 2024 às 11:08
Eu fiz exatamente dessa forma, mas parece que está dando conflito em alguns campos, Essa regra aqui por exemplo, se eu coloco o valor como 2, quando ele mostra os campos ele deveria mostra os itens 7-8-9-10, mas ele mostra somente o item 9-10, em todas as regras que fiz, ele está ignorando o campo 7-8;
e na primeira regra eu coloquei assim:
Trantando um possível valor 0 ou vazio, mas quando inicia o formulário e chega no 6 que tem a pergunta, se deixo o formulário como 0 ou deixo vazio ou coloco o 1, ele não mostra o primeiro funcionário. Se quiser ver como fica, esse é o relatório: https://www.jotform.com/240256358899674
Esse é o resto da regra acima, que está tratando o valor 0:
-
Anna Jotform SupportRespondido em 29 de janeiro de 2024 às 12:00
Hi Henrique,
Thanks for getting back to us. When I cloned and tested your form, the same thing happened to me. After investigating it a bit, I found a solution. Let's do it the other way around, and that is to show the hidden fields based on value. Let me show you how:
1. In Form Builder, select the field called "Qual o nome do funcionário?".
2. Go to the bottom of the form and hold the Shift button on your keyboard then click the last field.
3. Select Hide on the orange navigation bar that pops out to hide all of the selected fields in one go.We will now set up the new conditions and delete or disable the old conditions.
1. In the orange navigation bar at the top of the screen, click on Settings.
2. Click on Conditions on the left side of the screen.
3. Click the Select All checkbox and select either Disable or Delete.4. Add the new conditions like these:
Check out the screencast below for the result:
That's it. You can clone this demo form if you want to test it. You can check out this guide on How to Clone an Existing Form From a URL.
Give it a try and let us know how it goes.
-
Henrique_BambuiRespondido em 29 de janeiro de 2024 às 12:01
Pelo seu deu certo também, vou seguir por ele. Muito obrigado pela ajuda.