PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Permissiveness
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Checks whether the value typed by the user corresponds to the string displayed in a Captcha control.
Example
// 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 character string (with quotes)
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 uppercase characters only or lowercase characters only.
Related Examples:
WW_Blog_AWP 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)
The Captcha control 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.
Components
WEBDEV - Server code wd230page.dll
Linux wd230page.so
Minimum required version
  • Version 16
Comments
Click [Add] to post a comment