コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
5129 ビュー

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
アバター
破棄
最善の回答

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

アバター
破棄
著作者

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

関連投稿 返信 ビュー 活動
1
7月 16
6572
2
5月 25
10284
5
12月 21
12720
3
11月 20
9734
0
6月 17
3333