|
|
|
|
CaptchaVerify (Function) In french: CaptchaVérifie Checks whether the value typed by the user corresponds to the string displayed in a Captcha control. // Validates the user input TestCaptcha is boolean TestCaptcha = CaptchaVerify(CPTCH_Captcha, EDT_VerifCaptcha)  IF TestCaptcha = True THEN Info("Congratulations, the Captcha was successfully typed.") ELSE Error("Check your input, the values are different.") END
Syntax
<Result> = CaptchaVerify(<Captcha control> , <Value to test>)
<Result>: Boolean - True if the value of the captcha is correct,
- False otherwise.
<Captcha control>: Control name Name of the Captcha control to use. <Value to test>: Unicode string Value entered by the user. This parameter can correspond to the name of control in which the Captcha value was entered by the user. Remarks Permissiveness Some character fonts display different characters by using the same drawing or similar drawings. For example, the letter L (lowercase) and the digit 1 are very close: " l " " 1 ". CaptchaVerify takes the most common similarities into account and performs the comparison by accepting a substitution on these characters. CaptchaVerify is not case sensitive if the Captcha contains only uppercase or lowercase characters.
Related Examples:
|
Complete examples (WEBDEV): WW_Blog_AWP
[ + ] This example is a site for managing blogs. A blog is a log or a diary on an Internet site. It can be consulted by everyone and everyone can write comments. The author of the blog writes his messages whenever he wants to. You have the ability to format the text, to include images, notes, etc. This example is based on an AWP generation so that the site can be referenced by all the search engines. Furthermore, each blog can e exported in RSS. (Use of the RSS types of WLanguage)
|
|
Unit examples (WEBDEV): The Captcha control
[ + ] This example explains how to use the "Captcha" control of WEBDEV. This control allows you to avoid the automatic inputs in the forms.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|