Re: RE: validating a html:select box

2003-08-14 Thread Prashant Punjabi
3:15 PM Subject: RE: RE: validating a html:select box Pushing the limit, eh:). How hard is it to write your own two line JavaScript. Besides, since it's a select box(not a combo), all the options are assumed to be valid from the beginning, why there is an invalid option

Re: RE: RE: validating a html:select box

2003-08-14 Thread David G. Friedman
PROTECTED] Sent: 08/06/03 03:38 PM To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: RE: validating a html:select box For some reason, the javascript for intRange is not working if the property is a selection html:select. I looked in the javascript code (I am new to that still

RE: validating a html:select box

2003-08-14 Thread Erez Efrati
? Thanks, Erez -Original Message- From: David G. Friedman [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 4:59 PM To: Struts Users Mailing List Subject: Re: validating a html:select box Erez, The Struts Validator has an intRange function. It's in the Validator User Guide

Re: validating a html:select box

2003-08-14 Thread David G. Friedman
/var-value /var var var-namemax/var-name var-value20/var-value /var /field ---Original Message--- From: Erez Efrati [EMAIL PROTECTED] Sent: 08/06/03 02:41 PM To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: validating a html:select box I have

Re: RE: validating a html:select box

2003-08-14 Thread David G. Friedman
send a value? Thanks, Erez -Original Message- From: David G. Friedman [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 4:59 PM To: Struts Users Mailing List Subject: Re: validating a html:select box Erez, The Struts Validator has an intRange function. It's in the Validator

RE: RE: validating a html:select box

2003-08-07 Thread Erez Efrati
PROTECTED] Sent: August 6, 2003 1:39 PM To: 'Struts Users Mailing List' Subject: RE: RE: validating a html:select box For some reason, the javascript for intRange is not working if the property is a selection html:select. I looked in the javascript code (I am new to that still) but I saw that it only

RE: RE: validating a html:select box

2003-08-07 Thread Yansheng Lin
PROTECTED] Sent: August 6, 2003 1:39 PM To: 'Struts Users Mailing List' Subject: RE: RE: validating a html:select box For some reason, the javascript for intRange is not working if the property is a selection html:select. I looked in the javascript code (I am new to that still) but I saw that it only

validating a html:select box

2003-08-06 Thread Erez Efrati
I have a selection box with options where the first is valued 0 (=not selected) with some label saying: month. How can I use the Struts validator to validate the user has actually chosen a value other than 0? Do I have to write one of my own? I wish the validwhen was around... By the way the

RE: RE: validating a html:select box

2003-08-06 Thread Erez Efrati
for selection boxes? Change the javascript? Erez -Original Message- From: David G. Friedman [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 5:22 PM To: Struts Users Mailing List Subject: Re: RE: validating a html:select box Erez, In that field validation, you can overload