Hi,
I need to validate multiple fields, and I saw the help contained an example
for validating multiple fields.
You can find it in Help Creating and Extending Flex 2 Components
Creating Nonvisual Flex Components Creating Custom Validators,
Under Example: Validating multiple fields
In the
Hi Jonas,
There's a great quickstart on Validators
http://www.adobe.com/devnet/flex/quickstart/validating_data/
Enjoy :)
On 10/19/06, Jonas Windey [EMAIL PROTECTED] wrote:
Hi,I need to validate multiple fields, and I saw the help contained an examplefor validating multiple fields.You
The problem with that example is that it validates a data
model with multiple fields, but the validator only takes a single listener
property to specify where to display the validation error. Could your custom
validator add additional listener properties, as does the Flex
I have a custom validator in a cell renderer for a datagrid cell. I
cannot get the following statement to put out a custom error message
when executed, nothing happens
validator.validationError('requiredField',LabelProperties.getLabel
(LabelProperties.FIELD_IS_REQUIRED_MSG
@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Suzy Lawson
Sent: Tuesday, June 27, 2006 10:54 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Custom Validator woes
I'm building an e-mail client where the To: field can have a comma
delimited array of e-mail addresses: [EMAIL
Of Suzy Lawson
Sent: Wednesday, June 28, 2006
6:25 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Custom
Validator woes
Jason,
Thanks. I guess I just got mixed up since it's a little unnatural to
instantiate a class to call a method that should be static! Also,
adding text
I'm building an e-mail client where the To: field can have a comma
delimited array of e-mail addresses: [EMAIL PROTECTED], [EMAIL PROTECTED]
I have the validation occuring in the focusOut event, where I split
the To: field so I get an Array of e-mail addresses.
var emails : Array =
Hello Suzy,
Did you try the static validateEmail method of the EmailValidator?
Cheers,
Ralf.
On 6/27/06, Suzy Lawson [EMAIL PROTECTED] wrote:
I'm building an e-mail client where the To: field can have a comma
delimited array of e-mail addresses: [EMAIL PROTECTED], [EMAIL PROTECTED]
I have
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Suzy Lawson
Sent: Tuesday, June 27, 2006 10:54
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Custom
Validator woes
I'm building an e-mail client where the
To: field can have a comma
delimited
Subject: [flexcoders] Re: Custom
Validator on CheckBox
Matt,
Thank you for you reply. Yes, the valiadator
does fire, and if I
mouse over the box and it is not checked, the
error displays and then
disappears when I mouse back out. However if
I check the box, the
error does not go away.
Thanks,
Sean
Hello. I have a form in an application I'm building that requires the
user to check a CheckBox that acknowledges they read a statement. In
order to check that the CheckBox has been checked, I created a custom
validator. The validator works fine, but the problem I have is that
when the user
sure that your validator is really
firing and doing the right thing.
Matt
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of im_sean_s
Sent: Friday, December 02, 2005
1:27 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Custom
Validator on CheckBox
Hi all,
I am having a bit of a problem with validators in my application. The
problem is that I am trying to get a object to a custom validator so
that I can validate based on properties of the object.
I have a rule object that contains various properties about the rule
which I need access
OK, this shouldnt be so bad but its
not as perfect as you want. The process will be better in 2.0.
In your custom validator Im
assuming you overrode doValidation. Rename that method to something else,
like
function doValidationWithRule(value :
Object, rule : Rule) : Void
not match);
}
}
/mx:Script
Matt
*From:* Ketan Bengali [mailto:[EMAIL PROTECTED]
*Sent:* Sunday, March 06, 2005 10:54 PM
*To:* flexcoders@yahoogroups.com
*Subject:* [flexcoders] Passing value to custom validator
I have 2 fields
: Sunday, March 06, 200510:54
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Passing
value to custom validator
I have 2 fields : password
confirm_pasword
I have made a custom validator for confirm
password.
How do I pass the value of passsword to
confirm_password.
Tried
I have 2 fields : password confirm_pasword
I have made a custom validator for confirm password.
How do I pass the value of passsword to confirm_password.
Tried but not getting it. Have declared a public variable myPwd in the
as file
and passing it in this way: myPwd={pwd.text}
But while
Hi All (and Matt),
Have managed to solve the bugs/errors from my Custom Validator.
You can have a look at it at
http://www.meritokri.com/myvalidator.htm;
Regards.,
Ketan B.
I have made a custom validator (with an error).
The error message is:
There is no method with the name 'PinCodeValidator'
The .mxml file and the .as file exist in same directory.
The .as code is as below:
class PinCodeValidator extends mx.validators.Validator {
public static function
: Ketan R Bengali
[mailto:[EMAIL PROTECTED]
Sent: Monday, February 21, 2005
4:31 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Custom
Validator
I have made a custom validator (with an error).
The error message is:
There is no method with the name
'PinCodeValidator'
The .mxml file
20 matches
Mail list logo