Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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
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]
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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
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]
is working on a reply...