Maximum and Minimum length

You can limit the Captcha characters by MinimumLength and MaximumLength properties. MaximumLength property is used to define the maximum number of characters to be displayed in the image. MinimumLength sets minimum number of captcha characters required to display.

In the ASPX page, include the following Captcha control code example with minimum and maximum length supports.

  • html
  • <ej:Captcha ID="captcha" MaximumLength="6" MinimumLength="5" runat="server"></ej:Captcha>

    The following screenshot illustrates the Captcha with Minimum and Maximum length support.