Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • keilo 568 posts 1023 karma points
    Sep 10, 2015 @ 16:02
    keilo
    0

    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?

  • Mark Bowser 273 posts 860 karma points c-trib
    Sep 10, 2015 @ 17:04
    Mark Bowser
    1

    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:

    [@id]
    

    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

  • keilo 568 posts 1023 karma points
    Sep 10, 2015 @ 17:16
    keilo
    0

    Awesome! Thank you very much, appreciated!

Please Sign in or register to post replies

Write your reply to:

Draft