renderlet:CAPTCHA

Reference

Go to Top
path data type req default uobj description
all     This control has applied all the common properties of renderlet.

See renderlet:* section for the complete list of common properties to use.
copylabelstring    Some label as instruction for copying the captcha
errormessagestring Captcha Error  Message to display when the user input a wrong captcha
widthstring 100  Width of the captcha image
heightstring 30  Height of the captcha image
frameboolean false  If TRUE, the captcha image is surrounded with a border
bgcolorstring 255,255,255  Background color of the captcha image, in RGB format : 0,255,0
transparent_backgroundboolean false  If TRUE, the background is transparent
font/
/fontcolor
font/fontcolor/randomboolean false  If TRUE, the color of the font is randomly rendered
font/fontcolor/levelboolean darker  Intansity of the random color can be lighter, light, dark, darker
font/familystring luggerbu.ttf  CSV string of font name !! be careful, filefont should be placed in the fontdir of the renderlet dir in formidable. !!
font/sizeinteger 12  Integer OR csv to inpact the max and the min font size, if you input only one integer then it is used as unique font size.
authcharstring ABCDE FGHIJKLMNO PQRSTUVWXYZ12 3456789  list of letter allowed to be used in the captcha.
crypteasy/
crypteasy/constring BC DFGHJK LMNPQRS TVWXZ  Crypteasy is used to alternate vowels and consonnants to make a more readable captcha input here the allowed consonnants
crypteasy/vowstring AEIOUY  Crypteasy is used to alternate vowels and consonnants to make a more readable captcha input here the allowed vowels
difuplowboolean false  If TRUE the captcha become case sensitive
nbcharinteger 5  number of char used in the captcha
charspaceinteger 20  space between each chars (adjust depending on the used font family)
charangleinteger 0  maximum rotation of the chars in the captcha
charupboolean false  If TRUE the chars are randomly moved top or down
noise/
noise/pixelinteger 0/250  if noise is set add this amount of pixel to reduce lisibility of the captcha
if noise is TRUE then default (250) value is used
noise/lineinteger 0/3  if noise is set add this amount of lines to reduce lisibility of the captcha
if noise is TRUE then default (3) value is used
imgtypestring png  filetype of the captcha img possible value are : jpg,gif,png
cryptsecurestring md5  type of hash used to secure the captcha, possible value are sha1,md5
timer/
timer/timeinteger 3  delai to provide an error if captcha is reloaded too fast. possible value in second
timer/actioninteger    action if the captcha is reloaded too fast. possible value :
  • image = display an image
  • wait = wait til enough time has passed to generate a new captcha
maxattemptinteger 1000000000000000000  Maximum attempt to give a correct answer to the captcha.