Try our conversational search powered by Generative AI!

Xforms - adding controls to xforms template

Vote:
 

Hi all,

I'm really new to EpiServer, and what at first looked really simple doesn't seem to be.

I'm trying to add some simple controls to the sites xForms for simple captcha. The solution I'm working in was from another developer, but I believe I found the correct ascx page to add the new controls.

The pages code looks like this:

<asp:Panel runat="server" ID="FormPanel" CssClass="xForm">
    <xforms:xformcontrol ID="FormControl" runat="server" EnableClientScript="false" ValidationGroup="XForm" >
    </xforms:xformcontrol>
</asp:Panel>

I added a label to test between the xforms tags:

<asp:Label ID="HumanValidationLabel" runat="server">Please verify that you are human.</asp:Label>

Should I be seeing this label in the xForm content area? Is there anything else I need to do besides dropping the label between the xform tags?

Thanks,

Henrik

 

#46132
Nov 29, 2010 15:26
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.