AnsweredAssumed Answered

Dynamic choices in a Choice list?

Question asked by stempb on Mar 16, 2016
Latest reply on Mar 17, 2016 by emha

I placed a regular (non sharepoint ) choice field in a repeating section.   I would like to make the choices dynamic.   I populated the choices using some jQuery.   What works fine.   But when I go to  save the form, I get a "Something went wrong" error.


I found that if I enter one of the "dynamic" choices into the field's list of choices, I do not get the error.   So it seems the selection needs to preexist in the list of choices so it can be selected.


Am I going down the wrong path?   I do see how you can enter formulas for each choice but it seems to be for each individual choice as opposed to a list of choices.


P.S.   I am trying to use a dropdown list as my choice type.