I am trying to access the selection from another dropdown menu on the form. I am able to do this if I'm not using the form component. My question is how do I access the selection from a dropdown while using the form component?
(post deleted by author)
I don't see a selectedValue. I'm wondering if I have to use the id under data.
(post deleted by author)
(post deleted by author)
Huh. Looks like they don't expose the selected value in the properties, at least according to the manual:
Looks like you'll have to use the widget ids and the form's data property, likey in formComponent.data['widgetId'] fashion.
Seems odd to me. I wanted to use a named query to show results in a second dropdown based off the selection of another dropdown. I can't use my previous script that worked due to not knowing what is currently selected.
Ros, I explored the Form component for a few minutes and I now understand your original post. My suggestions were irrelevant so I've deleted them.
Is this what you're looking for?
I was able to get my desired effect using a change script. I am curious how you were able to add widgets in the data section. Mine shows the id name I gave to each widget.
I didn't. I just switched into Preview mode and filled in the form. The data.widget entries then appear.
Deleting those props or data.widget resets the components
Thank you, I was looking for the same.

