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


Changes: 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.


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


No changes have been submitted for this release.


Changes: Some CSS related patches were implemented.


No changes have been submitted for this release.
A program that finds duplicate files and creates XML catalogs of your files.
- All comments
Recent commentsRe: 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));
};
};
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
tried demo version
and it failed to catch simple errors; and flagged things
that were not errors