AnsweredAssumed Answered

Forms designer and dynamic dropdown options

Question asked by maudrid on Jan 26, 2016
Latest reply on Jan 27, 2016 by jbarrez
Hi There.
What is the best way to load options into a dropdown for a form that I created?

In render-form.js I found this piece of code:

// Pre-process any previous values, if needed
//$scope.preProcessFields

if (((field.type == 'dropdown' || field.type == 'radio-buttons') && field.optionType == 'rest' && (field.restUrl || field.endpoint))) {
                        $scope.invokeRestUrl(field);


This seems to suggest that it is possible to fill it using a rest api call.
I don't see a place to specify these field values in the editor.

Outcomes