Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
5150 Tampilan

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
Buang
Jawaban Terbai

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
Buang
Penulis

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

Post Terkait Replies Tampilan Aktivitas
1
Jul 16
6585
2
Mei 25
10290
5
Des 21
12726
3
Nov 20
9736
0
Jun 17
3355