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: How to validate a Listbox?
cesarvargas55
Junior Member

Posts: 3
Registered: 6/8/2006
Member Is Offline
posted on 6/8/2006 at 02:22 PM Reply With Quote
How to validate a Listbox?


How to validate a listbox?
<tr id="t_job_categories">
<td valign="top">Job Categories:</td>
<td>
<select name="job_categories[]" size="10" multiple>
<option value="1">Admin/Support </option>
<option value="2">Entry-Level </option>
<option value="3">Finance </option>
</td>
</tr>

This doesnt seem to work:

var a_fields = {
'job_categories[]':{'l':'Categories','r':true,'t':'t_job_categories'},
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 6/9/2006 at 09:30 AM Reply With Quote

selectbox validation sample is available online and in the distribution package.
View User's Profile View All Posts By User U2U Member
cesarvargas55
Junior Member

Posts: 3
Registered: 6/8/2006
Member Is Offline
posted on 6/13/2006 at 04:07 PM Reply With Quote
I need to validate a MULTIPLE list box


i cant erase the "[]" from job_categories[] because i need to pass multiple values with the form. But when i add the "[]" the validation doesnt work. Any suggestion?
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