Difference between revisions of "Validate contribution"

From CDOT Wiki
Jump to: navigation, search
Line 1: Line 1:
 
I found [http://www.mutationevent.com/projects/validate.js/index.php this code] can be useful for my Java assignment. Good thing is we can use the third party code now (properly cited!).
 
I found [http://www.mutationevent.com/projects/validate.js/index.php this code] can be useful for my Java assignment. Good thing is we can use the third party code now (properly cited!).
 +
  
 
However it's missed a few features. So I've added those and sent the diff (available by request) to [http://www.mutationevent.com/projects/validate.js/suggestions.php the author]:
 
However it's missed a few features. So I've added those and sent the diff (available by request) to [http://www.mutationevent.com/projects/validate.js/suggestions.php the author]:
  
 
New features are:
 
New features are:
 +
 
1. regexp validation
 
1. regexp validation
 +
 
2. rule can be optional - validate only if not empty
 
2. rule can be optional - validate only if not empty

Revision as of 11:59, 14 October 2008

I found this code can be useful for my Java assignment. Good thing is we can use the third party code now (properly cited!).


However it's missed a few features. So I've added those and sent the diff (available by request) to the author:

New features are:

1. regexp validation

2. rule can be optional - validate only if not empty