Disabling Form Field

2003-10-27 Thread Rhet Behler
Does anyone have any experiencing using the validation.xml and disabling a form field? Essentially what I would like to do is disable a text field in my form if the country selected is united states. Any help? Thanks

requiredif

2003-10-27 Thread Rhet Behler
Has anyone used this in the validation.xml? If so could I see a simple example? If not what are you using validwhen? thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: requiredif

2003-10-27 Thread Rhet Behler
/var /field -Original Message- From: Rhet Behler [mailto:[EMAIL PROTECTED] Sent: Monday, October 27, 2003 5:47 PM To: Struts Users Mailing List Subject: requiredif Has anyone used this in the validation.xml? If so could I see a simple example

Re: wildcard matching support

2003-10-28 Thread Rhet Behler
So let me get this correct.. validwhen only does a server side check? - Original Message - From: Vic Cekvenich [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 28, 2003 10:57 AM Subject: Re: wildcard matching support I think nightly build (Struts 1.2) has it. .V

Radio Buttons Required

2003-10-29 Thread Rhet Behler
I am having difficulties requiring radio buttons using the depends=required in the validation.xml. However if someone does NOT select a radio button then the javascript does not pop up and require the field. However I do have textfields and option/select menus on the same page that do pop up

Re: html:select

2003-10-30 Thread Rhet Behler
set the country in the action before the page if null - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 30, 2003 1:41 PM Subject: html:select how can i default a countrylist, i mean set the selected country ? I want the selected to be 'BE'

Phone Mask

2003-10-30 Thread Rhet Behler
Does anyone know how to set the phone mask in the validation to only accept 3 integers then a dash 3 integers a dash then 4 integers? example: 123-456-7890 would be valid 123-a34-5780 would not be valid right now my phone mask look like this: constant

Re: Phone Mask

2003-10-30 Thread Rhet Behler
This code works just as I wanted it to. I had it wrong in the validation.xml file constant constant-namephone/constant-name constant-value^\(?(\d{3})\)?[-| ]?(\d{3})[-| ]?(\d{4})$/constant-value /constant - Original Message - From: Rhet Behler [EMAIL

ear file

2003-11-11 Thread Rhet Behler
can someone tell me how to build an ear for deployment?