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
Hi Guys,
When using the FormPicker dataType from contour to "Create Form" from the Content Section itself, i can a blank view from the Design mode.
Is this normal?What if i want to add more fields other than Name, Email and Message, do i need to go under the Contour section Design mode?
Anyone has the same issue?
//Fuji
I have some weird errors when adding the "Form Picker" to an old website.
After using the following code in my template to actually display chosen form i get this error if no form is being picked.
However if i just Republish the Node without picking any form it works just fine!!
[NullReferenceException: Object reference not set to an instance of an object.] ASP.masterpages_hotelpage_master.__Render__control14(HtmlTextWriter __w, Control parameterContainer) +145 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +130 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +245 System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +11410062 System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +47 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +11418033 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +245 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +245 umbraco.presentation.masterpages._default.Render(HtmlTextWriter writer) +60 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +245 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +245 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +245 System.Web.UI.Page.Render(HtmlTextWriter writer) +39 umbraco.UmbracoDefault.Render(HtmlTextWriter output) +81 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5289
<% umbraco.presentation.nodeFactory.Node n = umbraco.presentation.nodeFactory.Node.GetCurrent(); if(n.GetProperty("formPickerHotel").Value!=string.Empty){ %> <ul class="forms clearfix"> <li><a href="#inline" rel="prettyPhoto[entryForm]">View Entry Form</a></li> </ul> <div id="inline" style="display:none;"> <umbraco:Macro FormGuid="[#formPickerHotel]" Alias="umbracoContour.RenderForm" runat="server"></umbraco:Macro> </div> <% } %>
Any suggestions??
//fuji
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Create Form with Form Picker dataType
Hi Guys,
When using the FormPicker dataType from contour to "Create Form" from the Content Section itself, i can a blank view from the Design mode.
Is this normal?What if i want to add more fields other than Name, Email and Message, do i need to go under the Contour section Design mode?
Anyone has the same issue?
//Fuji
I have some weird errors when adding the "Form Picker" to an old website.
After using the following code in my template to actually display chosen form i get this error if no form is being picked.
However if i just Republish the Node without picking any form it works just fine!!
Any suggestions??
//fuji
is working on a reply...