İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
5120 Görünümler

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
Vazgeç
En İyi Yanıt

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
Vazgeç
Üretici

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

İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Tem 16
6570
2
May 25
10283
5
Ara 21
12718
3
Kas 20
9732
0
Haz 17
3329