Overview | File | Class | Tree | Index | Help
| Package /org/apache/commons/validator/javascript
PREV NEXT | FRAMES NO FRAMES

## Package /org/apache/commons/validator/javascript

This document is the API Specification for Package /org/apache/commons/validator/javascript.

#### Summary

Validator JavaScript package

The validator javascript package provides a series of functions to validate `form input data`.

## Package Specification

Field Type | validate Byte | validate CreditCard | validate Date | validate Email | validate Float | validate FloatRange | validate IntRange | validate Integer | validate Mask | validate MaxRange | validate MinRange | validate Required | validate Short
checkbox |  |  |  |  |  |  |  |  |  |  |  |  |
file |  |  |  |  |  |  |  |  | 1 |  |  |  |
hidden 2 |  |  |  |  |  |  |  |  |  |  |  |  |
password |  |  |  |  |  |  |  |  |  |  |  |  |
radio |  |  |  |  |  |  |  |  |  |  |  |  |
select-multiple |  |  |  |  |  |  |  |  |  |  |  |  |
select-one |  |  |  |  |  |  |  |  |  |  |  |  |
text |  |  |  |  |  |  |  |  |  |  |  |  |
textarea |  |  |  |  |  |  |  |  |  |  |  |  |

Notes

1) |  | Since few browser support the 'accept' attribute for file upload input fields, a mask can be used to validate the uploaded file extension.
2) |  | Hidden fields can be used with complicated HTML interface. like cascading inter-dependent menus. The menus themselves don't represent real data fields, but are used with javascript to set the value of a hidden field.

File Summary
validateByte.js |
validateCreditCard.js |
validateDate.js |
validateEmail.js |
validateFloat.js |
validateFloatRange.js |
validateInteger.js |
validateIntRange.js |
validateMask.js |
validateMaxLength.js |
validateMinLength.js |
validateRequired.js |
validateShort.js |
validateUtilities.js |

Overview | File | Class | Tree | Index | Help
| Package /org/apache/commons/validator/javascript
PREV NEXT | FRAMES NO FRAMES

Copyright ® 2000-2005 - Apache Software Foundation
Documentation generated by JSDoc on Tue Nov 28 22:30:05 2006