How do I retrieve the user's value from a form element that was created dynamically?
0
-
The same way you would get the value from a non-dynamic form element. The only difference is that you won't have code completion on form.state.
If the ID of the element is myDynamicElement:
=$form1.state.myDynamicElement.value or =$form1.state["myDynamicElement"].value0 -
Thank You! This worked for me: =$form1.state[$forEach2.item].value
In case it helps someone else, for my situation, I had a list of string field names that were used to create dynamic form elements and needed to retrieve the users value from the dynamically created form element.
0
Please sign in to leave a comment.
Comments
2 comments