Demonstration Application for XPages in IBM Lotus Domino


Subject:
Add a Subject title and select submit (validation is done server side).
Validator:
validateRequired with custom message. Required field
validateRequired Required field
validateLength String must be between 5 and 10 characters.
validateLength with custom message Between 3 and 6 characters
validateConstraint Email address
validateConstraint with custom message Email address
validateDateTimeRange Select a Date:
Min =Feb 8, 2012
Max =Feb 10, 2012
validateDateTimeRange with custom message Select another date
validateLongRange Enter anything (between 4 and 8).
validateLongRange with custom message Enter anything again
validateDoubleRange Enter a number (between 12.34 and 56.78)
xp:validateDoubleRange (custom message) Enter another number.
xp:validateModulusSelfCheck This is used for numbers with a self check digit, e.g. a credit card number not your own
xp:validateModulusSelfCheck (custom message) Enter another.
xp:validateExpression Enter anything to get the error message, then "BB" to correct it.
xp:validateExpression (custom message) Enter anything to get the error message.