Inspiring
July 9, 2021
解決済み
copying a result from an optionfield to another
- July 9, 2021
- 返信数 1.
- 2624 ビュー
Hallo,
I am using the following code to transport the result of an optionfield cbox to another named dbox.
(received some help by the community, thank you)
this.getField("dBox."+(this.getField("dBox").value-1)).value
=this.getField("cBox."+(this.getField("cBox").value-1)).value;
This only works, when i once click into dbox. Then, when clicking into cbox, the result is transported into dbox. If i do not click once into dbox, the result is not transported.
I tested dbox.value = "on" in the script, but that did not help
I start the form with nothing clicked. See example attached
all the best
Ben
