Help

User input from a drop down list populated from values in a single select field

Topic Labels: Scripting extentions
1499 1
cancel
Showing results for 
Search instead for 
Did you mean: 
Lee_Mandell
6 - Interface Innovator
6 - Interface Innovator

Is there a way to get user input from a dropdown list? I would like this list populated from the values in a single select field.

Lee

1 Reply 1

Hi @Lee_Mandell - there are various input options you can access from a script - table, view, record, field and so on - but accessing a single value from a single select field isn’t available. There’s a couple of workarounds you could use.

  1. Have a reference table that has records matching the values of your single select and use input.recordAsync
  2. Have buttons with value that match you single select options and use input.buttonsAsync

With both of these you’d need to keep the records or buttons aligned with your single select options and if you add an option it clearly won’t be in your script until you amend it to match, but if your select options don’t change too frequently this might work for you.