Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
5124 Vistas

As my question said, I would like to know if there is a better or an "automatic" way to do this kind of behavior.


Actually I do this in my code :

# When the field has been hidden for some reason
my_visible_field = default_value
Avatar
Descartar
Mejor respuesta

hello,

I hope you are hiding your field according to value from another field(say field_2) in your from.

Then you can give onchange function to your field_2 to set value for your first field

Avatar
Descartar
Autor

I exactly do that, but I would like to know if there is another way to do that.

Publicaciones relacionadas Respuestas Vistas Actividad
1
jul 16
6572
2
may 25
10283
5
dic 21
12720
3
nov 20
9733
0
jun 17
3329