-
mauricio_martinezFecha de consulta 12 de agosto de 2024, 16:44
Hola
Como puedo administrar que un campo número esté condicionado por otro campo , por ejemplo
campo 1 es igual a "departamento" y campo 2 es igual a "cielo abierto"
Número de piso ingresado debe ser > 5
En este caso si se cumplen las 2 condiciones el numero a ingresar debe ser menor a 5
Saludos
Mauricio
-
Eleazar Jotform SupportFecha de respuesta 13 de agosto de 2024, 2:56
Hi mauricio_martinez,
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, You can add a hidden number field with the limited input from 1 to 5, then have it shown when picking on departamento and terreno abierto. Let me show you how.
- On Form Builder, click on Add Form Element, then add a Number field to your form.
- To set the limit of options from 1-5, select your Number field, click on the Gear icon, click on Options, toggle Entry Limits to On, then set minimum to 1 and maximum to 5.
Set conditions to show the Number field with the limited entry. Let me show you how.
- On Form Builder, click on Settings on top then click on Conditions on the left.
- Click on Add Conditions, select Show/Hide Field.
- Set up the following conditions.
- IF - Exposicion A Viento
- STATE - Is Equal To
- VALUE - Terreno Abierto
- IF - Tipo De Inmuelbe
- STATE - Is Equal To
- VALUE - Departamento
- IF "All" OF THE IF RULES ARE MATCHED
- DO - Show
- FIELD - the number field with the limited options
Whenever a user selects both departamento and terreno abierto, the number field will show.
Give it a try and let us know how it goes.
- On Form Builder, click on Add Form Element, then add a Number field to your form.
-
mauricio_martinezFecha de respuesta 13 de agosto de 2024, 13:26
Muchas gracias por la respuesta pero no me sirve , por que cuando la condición de ambos casos es verdadero esta perfecto , pero cuando es falso debo ingresar igual un numero de piso y como tiene la condición "mostrar" solo cuando es verdadero .-no es lo que busco
-
Eleazar Jotform SupportFecha de respuesta 13 de agosto de 2024, 13:59
Hi mauricio_martinez,
I’ll need a bit of time to look into this. I’ll get back to you as soon as I can.
-
Eleazar Jotform SupportFecha de respuesta 15 de agosto de 2024, 10:18
Hi mauricio_martinez,
You can set up a condition to hide the number field without the entry limit, so when the number field with the entry limit is shown, the user will not have to fill both fields. Let me show you how.
- On Form Builder, click on Settings on top, then click on Conditions on the left.
- Click on Add Condition, then select Show/Hide Field.
- Set up the following conditions.
- IF - Exposicion a Viento
- STATE - Is Equal To
- VALUE - Terreno Abierto
- IF - TipoDe Inmueble
- STATE - Is Equal To
- VALUE - Departamento
- IF ALL OF THE IF RULES ARE MATCHED
- DO - Hide
- FIELD - Numero De Piso
- Then click Save.
This should hide the first number field and show the second one with the entry limits. Here's a screencast of the result.
Give it a try and let us know how it goes.