Form Tags - Custom Validation Example
This example shows how to perform custom validation on both the client and server sides. To perform custom client-side validation, you must write a client-side JavaScript function and plug it into a fieldvalidator tag. The same is done for the server-side validation but the function is written in Java, however.

This custom validation example simply checks the City value and ensures that it starts with the letter 'Z'.

Click on the Submit button to see the exampe in action!

City:
  




          Back to Samples page


home : products : pricing : company : contact us : samples : download : forums : customers

Copyright © 2000-2004 dotJ Software Inc. All rights reserved.