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...
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.
Continue discussion
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...
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.