Copied to clipboard

Flag this post as spam?

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

  • rob 75 posts 170 karma points
    Sep 04, 2013 @ 11:44

    recursive parameter to razor without using Model._

    How can I make the emailAddress recursive in the way umbraco item does with recursive=true ?

    <umbraco:Macro EmailAddress="[#emailAddress]" Alias="MS_EnquiryForm" runat="server"></umbraco:Macro>


    It is easy to work around in the macro, I just use @Model._emailAddress instead of @Parameter.emailAddress, but this is creates an unneeded dependacy and I can not then reuse the macro.


    [#_emailAddress] did not work

  • rob 75 posts 170 karma points
    Sep 04, 2013 @ 11:49

    doh, I ahve been search for ages before I posted this and now I find the answer litterally 5 mins after posting.

    the answer is not to try and use [#_emailAddress] but [$emailAddress]

Please Sign in or register to post replies

Write your reply to: