Instance Settings
Customise each targetted input field with the settings below (all are optional):
$(selector).realperson({length: 4});
chars | dot | dots | hashName | includeNumbers | length | regenerate
| Name | Type | Default | Comments |
|---|---|---|---|
| length | number | 6 | The number of characters to be entered. |
| includeNumbers | boolean | false | Set to true to include the digits 0 to 9 in the characters
used to generate the challenge string. Otherwise only
the alphabetic characters are used. Removed 2.0.0 - use chars instead. |
| regenerate | string | 'Click to change' | The text to display to inform the user that they may click on the challenge to generate a new value - in case they cannot easily read the original value. |
| hashName | string | '{n}Hash' | The field name to use for the hash value that corresponds to the challenge text. Use '(n}' within the setting to substitute the name of the original input field. |
| dot | string | '*' | The character used to generate the dot patterns for the challenge letters. Since 2.0.0. |
| dots | string[][] | $.realperson.defaultDots | Each entry at the top level supplies the dot patterns for the corresponding position in chars.
Each entry is an array of strings providing the line by line break down of the dot pattern.
Use $.realperson.defaultDots for the default settings.Since 2.0.0. |
| chars | string | $.realperson.alphabetic | The list of characters to generate the challenge from.
The pattern for each character is taken from the corresponding position in dots.
You can use $.realperson.alphabetic or $.realperson.alphanumeric
for the standard character sequences.Since 2.0.0. |