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
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]
/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
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
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
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'
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
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
can someone tell me how to build an ear for deployment?
9 matches
Mail list logo