[flexcoders] Custom validator example from Help not working?

2006-10-19 Thread Jonas Windey
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

Re: [flexcoders] Custom validator example from Help not working?

2006-10-19 Thread julien castelain
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

RE: [flexcoders] Custom validator example from Help not working?

2006-10-19 Thread Stephen Gilson
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

[flexcoders] Custom Validator in DataGrid Cell Renderer: Problems setting custom error messag

2006-09-18 Thread jfournet
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

[flexcoders] Re: Custom Validator woes....

2006-06-28 Thread Suzy Lawson
@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

RE: [flexcoders] Re: Custom Validator woes....

2006-06-28 Thread Jason Szeto
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

[flexcoders] Custom Validator woes....

2006-06-27 Thread Suzy Lawson
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 =

Re: [flexcoders] Custom Validator woes....

2006-06-27 Thread Ralf Bokelberg
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

RE: [flexcoders] Custom Validator woes....

2006-06-27 Thread Jason Szeto
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

RE: [flexcoders] Re: Custom Validator on CheckBox

2005-12-03 Thread Matt Chotin
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

[flexcoders] Custom Validator on CheckBox

2005-12-02 Thread im_sean_s
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

RE: [flexcoders] Custom Validator on CheckBox

2005-12-02 Thread Matt Chotin
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

[flexcoders] Passing an object into a custom validator

2005-06-02 Thread kevmclachlan79
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

RE: [flexcoders] Passing an object into a custom validator

2005-06-02 Thread Matt Chotin
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

Re: [flexcoders] Passing value to custom validator

2005-03-09 Thread Ketan Bengali
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

RE: [flexcoders] Passing value to custom validator

2005-03-08 Thread Matt Chotin
: 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

Passing value to custom validator

2005-03-07 Thread Ketan Bengali
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

Custom Validator

2005-02-23 Thread Ketan Bengali
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.

Custom Validator

2005-02-21 Thread Ketan R Bengali
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

RE: [flexcoders] Custom Validator

2005-02-21 Thread Matt Chotin
: 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