Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: bug with empty select
Junior Member

Posts: 7
Registered: 10/15/2003
Member Is Offline
posted on 4/17/2007 at 03:54 PM Reply With Quote
bug with empty select

i have a dynamic select and if the tag is empty :
<select></select> the validator bug because the value is null.
i added "if(s_value!=null)" on line 135 before ":

this.a_fields[n_key]['v'] = s_value.replace(/(^s+)|(s+$)/g, '');

if(s_value!=null) this.a_fields[n_key]['v'] = s_value.replace(/(^s+)|(s+$)/g, '');

View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page Product Page
Product Demonstrations Product Demos
Registration Form Validation
Login Form Validation
Free Download Free Download
Product Documentation Documentation
Documenation Page
Change Log
Validators Comparison Table
Support Forum Support Forum

Go To Top

Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004