jsVal

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

Tweet this project Short link

Rss Recent releases

  • Rrelease-mid
  •  20 Mar 2006 00:43
  • Rrelease-after

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.

  • Rrelease-mid
  •  15 Apr 2005 10:01
  • Rrelease-after

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

  • Rrelease-mid
  •  08 Apr 2005 05:50
  • Rrelease-after

No changes have been submitted for this release.

  • Rrelease-mid
  •  06 Apr 2005 07:50
  • Rrelease-after

Changes: Some CSS related patches were implemented.

No changes have been submitted for this release.

Rss Recent comments

Rcomment-before 26 Apr 2006 19:45 Rcomment-trans qxo Rcomment-after

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));

};

};

Rcomment-before 19 Mar 2006 23:51 Rcomment-trans thaberkern Rcomment-after

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

Rcomment-before 16 Mar 2006 16:06 Rcomment-trans cevans7 Rcomment-after

tried demo version
and it failed to catch simple errors; and flagged things

that were not errors

A1c9a7fbc97771fb86871583272a1040_thumb

Project Spotlight

Vexi

Visual, extensible, XML interfaces.

No-screenshot

Project Spotlight

HashCatalog

A program that finds duplicate files and creates XML catalogs of your files.