Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
5125 Vizualizări

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
Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
Autor

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

Related Posts Răspunsuri Vizualizări Activitate
1
iul. 16
6572
2
mai 25
10283
5
dec. 21
12720
3
nov. 20
9733
0
iun. 17
3329