Created
Populate hidden form field with dynamic values
In the form components you have a wide range of components that you can use inside the form.
This example explains how to dynamically render a property or value from the content-page in your Hidden Field.
When you edit the properties of your Hidden field you have the following properties:
In case when you have a hardcoded value, you can just enter it into the 'Value' box.
But now in the case of getting the title of the page, or a property of your page.
If you want to retrieve those kind of values, you can use the following notation in your 'Value'-box.
${currentPage.title} (Gets the title)
${currentPage.properties.myCustomProperty (Gets the value of myCustomProperty)
So with this you can have a lot of flexiblity without the need of creating new components to retrieve dynamic values.
COMMENTS
-
Its great to see you taking the time to share this information


Comments (2)