Skip to main content

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

  • February 18, 2021
  • 1 reply
  • 16 views

Forum|alt.badge.img+7

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

JonathanBowen
Forum|alt.badge.img+18
  • Inspiring
  • 1110 replies
  • February 19, 2021

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.