google-code-export / validity

Automatically exported from code.google.com/p/validity

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Validity .require() does not work with <select> tag

GoogleCodeExporter opened this issue · comments

Validity .require() does not work with <select> tag

Version 1.1.1.

Reason: exception in require() function, line 264. 
valiable val is null here:

var res = val.length;

Fix: 
Must be something like the following
var res = (val != null && val.length != 0);

Original issue reported on code.google.com by dmitriy....@gmail.com on 8 Aug 2011 at 9:32

I can confirm!!

Original comment by DavidM...@gmail.com on 4 Sep 2012 at 5:37

please fix

Original comment by DavidM...@gmail.com on 4 Sep 2012 at 5:37