Captcha"
From Documentation
m ((via JWB)) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 11: | Line 11: | ||
= Employment/Purpose = | = Employment/Purpose = | ||
− | A < | + | A <code>captcha</code> component can generate a special distortion image, also called a CAPTCHA (Completely Automated Public Turing test to tell Computers and Humans Apart) image. Developers could set <code>height </code>and <code>width </code>for dimension of captcha. By default, captcha render the image with a randomly generated text, and developers can set <code>value </code>to assign a purposive text. |
Line 28: | Line 28: | ||
=Supported Events= | =Supported Events= | ||
− | {| | + | {| class='wikitable' | width="100%" |
! <center>Name</center> | ! <center>Name</center> | ||
! <center>Event Type</center> | ! <center>Event Type</center> | ||
Line 43: | Line 43: | ||
=Use Cases= | =Use Cases= | ||
− | {| | + | {| class='wikitable' | width="100%" |
! Version !! Description !! Example Location | ! Version !! Description !! Example Location | ||
|- | |- | ||
Line 53: | Line 53: | ||
=Troubleshooting= | =Troubleshooting= | ||
== Linux == | == Linux == | ||
− | Captcha depends on Java Swing that might not work under some version of JVM. | + | Captcha depends on Java Swing that might not work under some version of JVM. For the information to make it work under Linux, please refer to [[ZK Installation Guide/Setting up OS/Linux|ZK Installation Guide: Linux]]. |
=Version History= | =Version History= | ||
{{LastUpdated}} | {{LastUpdated}} | ||
− | {| | + | {| class='wikitable' | width="100%" |
! Version !! Date !! Content | ! Version !! Date !! Content | ||
|- | |- |
Latest revision as of 10:40, 12 January 2022
Captcha
- Demonstration: Capcha
- Java API: Captcha
- JavaScript API: Captcha
- Style Guide: N/A
- Available in ZK PE and EE only
Employment/Purpose
A captcha
component can generate a special distortion image, also called a CAPTCHA (Completely Automated Public Turing test to tell Computers and Humans Apart) image. Developers could set height
and width
for dimension of captcha. By default, captcha render the image with a randomly generated text, and developers can set value
to assign a purposive text.
Example
<vbox>
<captcha id="cpa" length="5" width="200px" height="50px"/>
</vbox>
Supported Events
None | None |
- Inherited Supported Events: Image
Supported Children
*NONE
Use Cases
Version | Description | Example Location |
---|---|---|
Troubleshooting
Linux
Captcha depends on Java Swing that might not work under some version of JVM. For the information to make it work under Linux, please refer to ZK Installation Guide: Linux.
Version History
Version | Date | Content |
---|---|---|