Difference between revisions of "Validate contribution"

From CDOT Wiki
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
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 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

Latest revision as of 12:01, 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 to the author:

New features are:

1. regexp validation

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