How to get the QueryString value into the hidden form field?
I am working on a simple survey implementation, where a user clicks a link in an email sent, the link contains the user's email identifier.
So when they land on the clicked link, contour form shows up and they fill up the values. To identify the user, I need to capture the querystring value (user's email or id in this case) into a hidden field.
Is there a simple way to accomplish that? i.e. capture a certain querystring value into the hidden field of a contour form?
How to get the QueryString value into the hidden form field?
I am working on a simple survey implementation, where a user clicks a link in an email sent, the link contains the user's email identifier.
So when they land on the clicked link, contour form shows up and they fill up the values. To identify the user, I need to capture the querystring value (user's email or id in this case) into a hidden field.
Is there a simple way to accomplish that? i.e. capture a certain querystring value into the hidden field of a contour form?
Yep. Check this out: Advanced Macro Parameter Syntax
This works in contour forms as well. You should be able to add something like this to the Default Value of the hidden field in Contour:
This is a similar post that might have more details if you run into further trouble: https://our.umbraco.org/forum/umbraco-pro/contour/14340-Set-value-of-radiobuttonlist-from-querystring
Awesome! Thank you very much, appreciated!
is working on a reply...