Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
5141 Ansichten

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
Verwerfen
Beste Antwort

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
Verwerfen
Autor

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

Verknüpfte Beiträge Antworten Ansichten Aktivität
1
Juli 16
6577
2
Mai 25
10289
5
Dez. 21
12723
3
Nov. 20
9735
0
Juni 17
3348