Copied to clipboard

Flag this post as spam?

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


  • Martin Griffiths 791 posts 1189 karma points c-trib
    May 07, 2015 @ 17:58
    Martin Griffiths
    0

    How do I see / export PageId and Url in Umbraco Forms?

    How do I see / export PageId and Url in Umbraco Forms? In contour these fields were provided in the entries by default. Some of my forms are injected via partials in multiple places/pages so we need to know where the form originated.

    M

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    May 08, 2015 @ 10:45
    Tim Geyssens
    0

    Hey Martin,

    Forms doesn't store this by default but you could add a hiddenfield to the form and populate that with the pageid using the special syntax

  • Martin Griffiths 791 posts 1189 karma points c-trib
    May 08, 2015 @ 10:47
    Martin Griffiths
    0

    Hi Tim

    Sounds good, can you remind me of the syntax?

    Thanks

    Martin

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    May 08, 2015 @ 10:51
    Tim Geyssens
    0

    Could you try [#propertyAlias] so [#pageID]

     

     

  • Martin Griffiths 791 posts 1189 karma points c-trib
    May 08, 2015 @ 11:14
    Martin Griffiths
    0

    Will that work with any propertyAlias?

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    May 08, 2015 @ 12:17
    Tim Geyssens
    0

    yup

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies