jsVal is a JavaScript program used for validating HTML Forms on the client side. This allows HTML forms to be validated in the browser without having to send a request to a sever (PHP, ASP, Perl...). jsVals saves you from having to write complicated validations on server side as well as helping you avoid having to rebuild and repopulate the form when validation fails. The advantage versus other client side HTML form validators is the ease of use and flexibility you'll gain. jsVal fits the needs for most HTML Forms, and can be also easily be integrated with existing HTML Forms.
| Tags | Internet Web Dynamic Content Software Development Libraries User Interfaces |
|---|---|
| Licenses | LGPL |
| Operating Systems | OS Independent |
| Implementation | JavaScript |
Recent releases


Release Notes: A bug in which the last character in a regular expression is consumed was fixed. The email regular expression was improved so German umlaut-domains now work.


Release Notes: This release fixes a bug with callback handling and one with CSS error tagging.


No changes have been submitted for this release.


Release Notes: Some CSS related patches were implemented.


No changes have been submitted for this release.
Recent comments
26 Apr 2006 19:45
Re: tried demo version
> Can you provide me more details on
> what's not working?
> What Browser do you use?
>
> Timo
>
>
> % and it failed to catch simple errors;
> % and flagged things
> % that were not errors
>
>
>
see below code JSVAL_RX_EMAIL has charset encoding problem!!!
function _checkRegExp(regx,value){
switch(regx){
case "JSVAL_RX_EMAIL":
return((/^[a-zA-Z溥闹躚+([\.-]?[a-zA-Z溥闹躚+)*@[a-zA-Z溥闹躚+([\.-]?[a-zA-Z溥闹躚+)*(\.\w{2,5})+$/).test(value));
case "JSVAL_RX_TEL":
return((/^1?[\-]?\(?\d{3}\)?[\-]?\d{3}[\-]?\d{4}$/).test(value));
case "JSVAL_RX_PC":
return((/^[a-z]\d[a-z]?\d[a-z]\d$/i).test(value));
case "JSVAL_RX_ZIP":
return((/^\d{5}$/).test(value));
case "JSVAL_RX_MONEY":
return((/^\d+([\.]\d\d)?$/).test(value));
case "JSVAL_RX_CREDITCARD":
return(!isNaN(value));
case "JSVAL_RX_POSTALZIP":
if(value.length==6||value.length==7)
return((/^[a-zA-Z]\d[a-zA-Z] ?\d[a-zA-Z]\d$/).test(value));
if(value.length==5||value.length==10)
return((/^\d{5}(\-\d{4})?$/).test(value));
break;
default:
return(regx.test(value));
};
};
19 Mar 2006 23:51
Re: tried demo version
Can you provide me more details on what's not working?
What Browser do you use?
Timo
> and it failed to catch simple errors;
> and flagged things
> that were not errors
16 Mar 2006 16:06
tried demo version
and it failed to catch simple errors; and flagged things
that were not errors
Standards-compliant Java persistence via JDO/JPA/REST and RDBMS/db4o/Excel/LDAP.