Captcha

The Captcha server controla server control uses API language to interact with the CMS and Framework UI to display the output. A server control can be dragged and dropped onto a Web form and then modified. lets an Ektron developer place a Captcha control on any web form. The Captcha control is launched when a site visitor clicks the form's submit button. To submit the form, the site visitor must enter characters that match the displayed characters.

The following example shows a <body> tag with a Captcha control. In addition to placing the Captcha server control, you must create the form and submit button.

<body>
   <form id="form1" runat="server">
      First Name: <asp:TextBox ID="fname" runat="server"></asp:TextBox>
    <div>
    <cms:Captcha ID="captcha1" runat="server" />
    </div>
    <asp:Button Text="Go" ID="button1" runat="server" OnClick="button1_Click" />
    </form>
</body>