I was trying out the options expression (via JSON string). I was wondering if there is a way to set the default option? I browsed the test codes, and don’t believe it is in the unit tests?
I did not understand your question. What were you trying?
Let’s say i have 3 possible options in the dropdown, and I want one to be the default option (the one that is selected when form is opened). Is that possible?
Without the option expression, you can make one of the options the default one. But I can’t find how to do this with expressions.
OK, setting the variable to a value before the form gets initiated solved it for me. Would be great if this can also be done via JSON input.