Page 2 of 2

Re: Can't get choice url to work

Posted: Wed Mar 24, 2021 12:18 pm
by Scott Klement
Matt's suggestion would work as long as you understand the timing.
  • Important: The property values (with script:) are evaluated as the screen is loading.
  • That means that the Id_SysCode and Id_FldID widgets must be earlier in the "elements" list than the widget (select box?) with the choices url. Otherwise, they will come back as blank.
  • Since it runs when the screen is loading, the data from the widgets will be read and added to the URL before the user interacts with the screen. If he/she changes the values of Id_SysCode or Id_FldID, the screen would have to be re-rendered to pick up the changes in the URL.