Copy link to clipboard
Copied
Hi, is there script i could use on a button field to populate dropdown field with export values instead of manually entering each value?
Yes in your button as Mouse UP event you can use something like this:
this.getField("Dropdown").setItems([["Item1", "1"], ["Item2", "2"], ["Item3", "3"]]);
where "1","2","3" are export values.
Copy link to clipboard
Copied
Yes in your button as Mouse UP event you can use something like this:
this.getField("Dropdown").setItems([["Item1", "1"], ["Item2", "2"], ["Item3", "3"]]);
where "1","2","3" are export values.
Copy link to clipboard
Copied
Thank you so much.