Member
Join Date: May 2021
Posts: 84
|
Does anyone know how to use the setchosen[...] target reference on a menu field?
For example Code:
<field id="someField" name="Example" type="user" style="menu"/> ... perform field[someField].setchosen[Component,...?] Being able to set the value of menu-style user fields would make one thing possible that I haven't found any other solution for (creating a shadowed proxy pick to use with a menu_thing in the UI, and pass on the result to an already existing non-shadowed pick). It would also help me to clean up some messy scripts/workarounds I've written, since I would be able to use a menu-style field as a simple script-modified linkage. |
#1 |
Thread Tools | |
Display Modes | |
|
|