Skip to main content
Answer

Programmatically insert choices into a Dropdown

  • April 4, 2024
  • 1 reply
  • 101 views

I'd like to be able to programmatically update/insert choices into a dropdown field using the Create API.

Our use case is that each client could have differing values for this dropdown field.

It looks as though each choice in the json for a dropdown needs an 'id', 'ref' and 'label'. I have the labels but not the others.

It is possible to dynamically/programmatically insert choices into a dropdown?

Best answer by Liz

Hi @bobwilliams Thanks for stopping by the community! You can update the form using the API, which would then allow you to edit the dropdown field. Would this work for you? 

1 reply

Liz
Ex–Typefomer
Forum|alt.badge.img+5
  • Tech Community Advocate
  • Answer
  • April 4, 2024

Hi @bobwilliams Thanks for stopping by the community! You can update the form using the API, which would then allow you to edit the dropdown field. Would this work for you?