This gives me my FormGuid when I choose a Contour form in the editor. Just spits out my ID.
I then try to put the FormGuid inside the Contour Macro inside my template like so:
<form ID="GeneralContactForm" runat="server"> Should be a contact form <umbraco:Macro FormGuid="<umbraco:Item field="chooseContactForm" runat="server"></umbraco:Item> " Alias="umbracoContour.RenderForm" runat="server"></umbraco:Macro> </form>
Can you put an Umbraco:Item inside the FormGuid?????
I am assuming you can not put a runat="server" inside of another. But what is the alternative to get the Guid from the ChooseContactForm field for my editors. Since we can not put .Net inside XSLT, this is my alternative solution, but I get and error <div class='contourErrorMessage'>Form could not be loaded, form is either missing or damaged</div>
Add Umbraco:Item inside Macro FormGuid???
I asked this in the Contour area but not sure if that section gets hit that much.
But here goes.
Don't know if this has been asked yet.
I am putting a Contour form inside my template, no problem.
I want the FormGuid to pull from my editors.
I have the FormGuid ID using
<umbraco:Item field="chooseContactForm" runat="server"></umbraco:Item>
This gives me my FormGuid when I choose a Contour form in the editor. Just spits out my ID.
I then try to put the FormGuid inside the Contour Macro inside my template like so:
<form ID="GeneralContactForm" runat="server">
Should be a contact form
<umbraco:Macro FormGuid="<umbraco:Item field="chooseContactForm" runat="server"></umbraco:Item>
" Alias="umbracoContour.RenderForm" runat="server"></umbraco:Macro>
</form>
Can you put an Umbraco:Item inside the FormGuid?????
I am assuming you can not put a runat="server" inside of another. But what is the alternative to get the Guid from the ChooseContactForm field for my editors. Since we can not put .Net inside XSLT, this is my alternative solution, but I get and error
<div class='contourErrorMessage'>Form could not be loaded, form is either missing or damaged</div>
All help is much appricated. Thanks.
is working on a reply...