-
Hose_Fecha de consulta 3 de junio de 2025, 11:01
Buenas, no consigo hacer que funciones la lógica de mi formulario.
Le tengo que según cuantas opciones marques se sumen y te deriven a un mensaje u otro, pero parece que me detecta dos condiciones de las 3 que están puestas y si las cambio de posición, que creo que cambia algo la jerarquía, me detecta la que no me detectaba anteriormente pero me deja de detecta otra, nunca las tres.
Probé de distintas maneras, pero no consigo hacer que funcione.
Este es el enlace del formulario:
https://form.jotform.com/251524272891055
Está aún como en versión de testeo, pero las condiciones lógicas deberían de funcionar, pero no quiero "perder el tiempo" con hacerlo todo bien y correcto y que luego me falle eso.
Gracias de antemano.
-
Jovito Jotform SupportFecha de respuesta 3 de junio de 2025, 11:21
Hi Jose,
Thanks for reaching out to Jotform Support. Our Spanish 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 Spanish, 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 and tested the form on my end, and I can confirm that it didn't show the correct message when submitting the form. When I checked the conditions, they seem to have an issue because some results are not covered. You need to fix them so the correct custom message will show. Let me show you how:
1. In Form Builder, click on Settings on the orange navigation bar.
2. Then, click on Conditions on the left panel and click on Pencil icon to edit.
Once done, test the form and check if it shows the correct custom message. I tested my cloned form and it seems to work. Check out the image below:
Give it a try and let us know how it goes.
-
Hose_Fecha de respuesta 3 de junio de 2025, 13:00
No problem, I can communicate in English without a problem.
First, a question: when you type "less than" or "greater than" does it exclude the number? That is, if you type "less than 6" does it exclude the 6? Leaving 5 as the limit? Does it work the same way with "greater than"?
Because that leads to my second question: the third condition, "greater than 13," still doesn't work for me. I did it the same way you indicated in the images, and it still gives me the result of "less than 13."
-
Jovito Jotform SupportFecha de respuesta 3 de junio de 2025, 13:07
Hi Jose,
That's right. If you use Less Than in your condition, it will exclude the value you added. In that case, 6 will not be included in the condition, leaving 5 as the limit. It also works with the Greater Than statement as well.
I also missed updating the condition I added for Greater Than. It should be Greater Than 12, so 12 will be excluded in the other condition. Check out the image below:
Can you try testing your form again once you updated the condition? Once done, check if the custom message works without issues. If there is, let us know so we can check.
Give it a try and let us know how it goes.
-
Hose_Fecha de respuesta 4 de junio de 2025, 10:10
I just tried now putting 12 and it still gives me the previous result, that condition doesn't work for me.
-
Jovito Jotform SupportFecha de respuesta 4 de junio de 2025, 10:20
Hi Jose,
I checked your form again, and it seems that you haven't changed the If rule on one of your conditions to All. You need to change it so the condition works. Let me show you how:
- In Form Builder, click on Settings on the orange navigation bar.
- Then, click on Conditions on the left panel and click on Pencil icon on the second condition.
- Change the If rule to All then click on Save.
Give it a try and let us know how it goes.
-
Hose_Fecha de respuesta 4 de junio de 2025, 10:24
Now everything works perfectly, thank you.
And finally, I'd like to ask a question: What's the difference between setting "any" or "all"? What difference does it make in behavior?
-
Jovito Jotform SupportFecha de respuesta 4 de junio de 2025, 10:27
Hi Jose,
In Jotform conditional logic, when you have multiple IF rules in a condition, Any and All determine how many of those rules must be true to trigger the condition:
- Any means that if any one of the If rules is true, the condition will be triggered.
- All means that all the If rules must be true for the condition to be triggered.
For example, if you have two If rules and you select Any, the condition will activate if either rule is true. If you select All, both rules must be true for the condition to activate.
Give it a try and let us know if you have any other questions.
-
Hose_Fecha de respuesta 4 de junio de 2025, 10:37
Oh, right, now I understand.
Okay, it's perfectly clear to me now, thanks so much for the help. :)