[flexcoders] Validation: Enabling buttons on click and validating inputs on committing vales - good strategies?

2010-01-28 Thread David Adams
I'm trying to set up an interface with validation and am trying to do a couple of things at the same time: * Enable/disable some buttons as a user types into a couple of input areas. So, the button higlight is triggered on click. * Validate each input area once the user leaves it. So, the validat

[flexcoders] Validation Error !!!!

2009-11-19 Thread criptopus
I have a custom mxml component that is added using a popUpManager in the component which is a TitleWindow sits a Form and when I try to add a Validator to the form i get this compile error. Component declarations are not allowed here. (Note: visual children must implement mx.core.IUIComponent)

Re: [flexcoders] Validation on ItemRenderers in DataGrid

2009-05-14 Thread Andriy Panas
Are you using custom itemEditor component or default itemEditor shipped with mx:DataGrid component? -- Best regards, Andriy Panas > I need to validate all the item renders within a DataGris on certain > triggers from within dataGrid as well as out of dataGrid. Validation should > provide feedback

[flexcoders] Validation on ItemRenderers in DataGrid

2009-05-13 Thread Shailesh Mangal
I need to validate all the item renders within a DataGris on certain triggers from within dataGrid as well as out of dataGrid. Validation should provide feedback by marking the border red and error message on hover. I am wondering if any has faced similar issues. -Shailesh

Re: [flexcoders] Validation in Model (rather than in View)

2009-04-14 Thread claudiu ursica
Have a look a the presentaion model pattern maybe helps your cause... C From: Borek To: flexcoders@yahoogroups.com Sent: Tuesday, April 14, 2009 6:16:56 PM Subject: [flexcoders] Validation in Model (rather than in View) Flex supports validation in the

[flexcoders] Validation in Model (rather than in View)

2009-04-14 Thread Borek
Flex supports validation in the View layer quite well but the problem is that the validation rules should not be there at all. They belong to Model but I'm not sure how to implement that in Flex. I would like to be able to do something like this: [Required] [String(minLength="5")] public var na

Re: [flexcoders] Validation question

2009-02-02 Thread Marco Catunda
If you set errorString property of the validated field, the red border will plot automatically. -- Marco Catunda On Mon, Feb 2, 2009 at 2:05 PM, markgoldin_2000 wrote: > I am working on a generic program that would validate user entries. If > validation fails how do I inforce Flex's generic red

[flexcoders] Validation question

2009-02-02 Thread markgoldin_2000
I am working on a generic program that would validate user entries. If validation fails how do I inforce Flex's generic red border for the validated field? Thanks

[flexcoders] Validation Error border/errorTip showing when control disabled

2008-08-10 Thread jamison_wilde
I have a component that enables/disables some controls in response to a login state. If they user logs in, they don't need to fill out certain data, since the server has it, but I don't really want to hide the controls as it would leave a big empty spot in the designs I was given. The problem is

Re: [flexcoders] Validation approach

2008-02-02 Thread shrikant.patil
hi refer the below link hope it may help. http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Book_Parts&file=createvalidators_153_4.html Yogesh Jadhav-2 wrote: > > Hi all, > Currently i am validating my form ( having 10-12 fields )

[flexcoders] Validation approach

2008-02-02 Thread YOGESH JADHAV
Hi all, Currently i am validating my form ( having 10-12 fields ) by using adobe's article. http://www.adobe.com/devnet/flex/quickstart/validating_data/ The form contains texInputs, comboboxes, numeric steppers etc. For small no of items, the above approach works, but as no of items

Re: [flexcoders] Validation border doesn't update

2007-10-17 Thread Richard Rodseth
Ouch. Thanks. I voted for your bug (though perhaps it's up to the Firefox team). I wonder what everyone else is doing. On 10/17/07, Bjorn Schultheiss <[EMAIL PROTECTED]> wrote: > > > > > > > here's some helper methods i got at the moment > > > > > protected function updateComponentValidation( va

Re: [flexcoders] Validation border doesn't update

2007-10-17 Thread Richard Rodseth
Hi Bjorn Yes, I found that just after I posted, and saw the workaround. I haven't got the workaround working yet, though - in addition to restoring the focus, I think I will need to set the insertion point so that typing in the field works. Thanks. On 10/17/07, Bjorn Schultheiss <[EMAIL PROTECTE

Re: [flexcoders] Validation border doesn't update

2007-10-17 Thread Bjorn Schultheiss
I logged a bug recently on this topic. vote for it http://bugs.adobe.com/jira/browse/SDK-13005 The workaround is there as well On 18/10/2007, at 10:15 AM, Richard Rodseth wrote: I'm following the recipe described here: http://www.adobe.com/devnet/flex/quickstart/validating_data/ In the last

[flexcoders] Validation border doesn't update

2007-10-17 Thread Richard Rodseth
I'm following the recipe described here: http://www.adobe.com/devnet/flex/quickstart/validating_data/ In the last example on the above page (at least in Firefox), the validation borders don't seem to update correctly. In particular, when you type the character that makes an e-mail address valid,

Re: [flexcoders] Validation Error Tooltip (solved)

2007-09-20 Thread Jeremy Tooley
Wow.. it would really help if I wasn't so lazy and searched the posts.. sorry http://tech.groups.yahoo.com/group/flexcoders/message/81597 Jeremy Tooley wrote: Hello all, I have been struggling with this all day. I have a custom email validator in a textInput component, and my requirements ca

[flexcoders] Validation Error Tooltip

2007-09-20 Thread Jeremy Tooley
Hello all, I have been struggling with this all day. I have a custom email validator in a textInput component, and my requirements call for the error tool tip to be present after focus is lost on the field until a valid email is present. Everything works perfectly with the error validation...

RE: [flexcoders] Validation drama

2007-06-05 Thread Dimitrios Gianninas
To: flexcoders@yahoogroups.com Subject: [flexcoders] Validation drama I just want to say validators in Flex 2 are the worst! Why is something as simple as updating the border focus color on a component so difficult. Fair enough i may be a little upset at the moment and not venting on a public

Re: [flexcoders] Validation drama

2007-06-05 Thread Tom Chiverton
On Tuesday 05 Jun 2007, Bjorn Schultheiss wrote: > http://www.adobe.com/devnet/flex/quickstart/validating_data/ > play with the bottom example, > count how many times you can get a red border with blue focus or the > opposite incorrect value. Zero. Do you have a recent version of the player and a

Re: [flexcoders] Validation drama

2007-06-05 Thread Bjorn Schultheiss
and btw thanks for making Validator._source private so i cant even override the source setter without copy and pasting the entire class. On 05/06/2007, at 4:25 PM, Bjorn Schultheiss wrote: I just want to say validators in Flex 2 are the worst! Why is something as simple as updating the borde

[flexcoders] Validation drama

2007-06-04 Thread Bjorn Schultheiss
I just want to say validators in Flex 2 are the worst! Why is something as simple as updating the border focus color on a component so difficult. Fair enough i may be a little upset at the moment and not venting on a public forum, but please have some sort of update for this Flex 3. As far

Re: [flexcoders] Validation error red box displayed remains after validating a field.

2007-05-11 Thread Tom Chiverton
On Thursday 10 May 2007, Amine Diab wrote: > entry. Could anyone shed some light on this issue, and provide a work > arround. Thank you. Call the validation from keyDown. -- Tom Chiverton Helping to ambassadorially empower out-of-the-box niches on: http://thefalken.livejournal.com *

[flexcoders] Validation error red box displayed remains after validating a field.

2007-05-10 Thread Amine Diab
Hi, I am doing dynamic field validation, and noticed that the red error box turns from red to faint red after a Valid event is dispatched on an originally invalid field. A dynamic validation example done by Aral Balkan will illustrate my point; follow the link below GOT TO THE END of the page,

Re: [flexcoders] validation

2007-03-15 Thread gunadi bowo
// __YM: [EMAIL PROTECTED]Blog : gunadiw.blogsome.com- Original Message From: Kenneth Sutherland <[EMAIL PROTECTED]>To: flexcoders@yahoogroups.comSent: Thursday, March 15, 2007 6:34:23 PMSubject: [flexcoders] val

Re: [flexcoders] validation

2007-03-15 Thread Roman Protsiuk
Validator class has property triggerEvent. It can be focusOut for example. Or if you want something more complicated then you can manually call yourValidator.validate(). R. On 15 Mar 2007 04:34:23 -0700, Kenneth Sutherland <[EMAIL PROTECTED]> wrote: I know I've seen this done somewhere but

[flexcoders] validation

2007-03-15 Thread Kenneth Sutherland
I know I've seen this done somewhere but just cant seem to find it on livedocs or in the history of flexcoders! Anyway I want to validate a textbox / combobox, but I only want the validation to validate after the user has tabbed out of the box or pressed enter. At the moment it validates after ea

RE: [flexcoders] validation for form reset

2006-11-27 Thread Stephen Gilson
m [mailto:[EMAIL PROTECTED] On Behalf Of relisanhard52 Sent: Sunday, November 26, 2006 12:57 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] validation for form reset Hi I am having a form whose fields i can validate without any issues. I need to have an option of reset. In my reset,

[flexcoders] validation for form reset

2006-11-26 Thread relisanhard52
Hi I am having a form whose fields i can validate without any issues. I need to have an option of reset. In my reset, i have private function reset():void { nameValidator.enabled= false; name.text=''; nameValidator.enabled= true; } This w

Re: [flexcoders] Validation framework and changing the way tooltips get "triggered" (F2B2)

2006-05-09 Thread Manish Jethani
On 5/6/06, pk_wasp <[EMAIL PROTECTED]> wrote: > Rather then just only having the mouseOver event triggering the display > of the error message tooltips, allow other events to trigger it as well > e.g. when a users tabs to a field that is in error, we can show the > error message tooltip on a fo

Re: [flexcoders] Validation framework and changing the way tooltips get "triggered" (F2B2)

2006-05-09 Thread Ralf Bokelberg
flexcoders@yahoogroups.comSubject: [flexcoders] Validation framework and changing the way tooltipsget "triggered" (F2B2) At the moment the validators will highlight a field in error and if youmouse over it, it will display the error message.Is it possible (this could be a feature reque

RE: [flexcoders] Validation framework and changing the way tooltips get "triggered" (F2B2)

2006-05-08 Thread Deepa Subramaniam
ginal Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of pk_wasp Sent: Friday, May 05, 2006 6:07 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Validation framework and changing the way tooltips get "triggered" (F2B2) At the moment the validators w

[flexcoders] Validation framework and changing the way tooltips get "triggered" (F2B2)

2006-05-05 Thread pk_wasp
At the moment the validators will highlight a field in error and if you mouse over it, it will display the error message. Is it possible (this could be a feature request if its not too late :) ), to select the way this is triggered?. Rather then just only having the mouseOver event triggerin

RE: [flexcoders] Validation problem

2006-01-25 Thread Matt Chotin
: [flexcoders] Validation problem Hi, I am working on validations on input fields( required=true ). I am using Tag for validating fields.. When no value is enter into required field it showing Error Meassage but it not showing at corresponding field. All ValidationError messages showing at same place

[flexcoders] Validation problem

2006-01-25 Thread jagabcdeff
Hi, I am working on validations on input fields( required=true ). I am using Tag for validating fields.. When no value is enter into required field it showing Error Meassage but it not showing at corresponding field. All ValidationError messages showing at same place which is far away from inpu

RE: [flexcoders] Validation of Custom component

2005-10-16 Thread Matt Chotin
@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Shlomi Cohen Sent: Sunday, October 16, 2005 7:17 AM To: 'flexcoders@yahoogroups.com' Subject: [flexcoders] Validation of Custom component   Hi   We have a custom component that is composed of several UI controls. t

[flexcoders] Validation of Custom component

2005-10-16 Thread Shlomi Cohen
Title: Mercury Email Signature Hi   We have a custom component that is composed of several UI controls. this custom component is placed in a more complex form.   we need to validate the input entered for this custom component , and draw a red square around it (the canvas the wraps everythi

RE: [flexcoders] Validation TextInput

2005-08-18 Thread Mika Kiljunen
] On Behalf Of Kai König Sent: 17. elokuuta 2005 15:13 To: flexcoders@yahoogroups.com Subject: [flexcoders] Validation TextInput Hi all, I want a bunch of TextInputs within a form to be required and to validate against a common mx:Validator. This works fine in general, but the customer wants that

RE: [flexcoders] Validation TextInput

2005-08-17 Thread Matt Chotin
solution for now. Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kai König Sent: Wednesday, August 17, 2005 5:13 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Validation TextInput Hi all, I want a bunch of TextInputs within a form to

[flexcoders] Validation TextInput

2005-08-17 Thread Kai König
Hi all, I want a bunch of TextInputs within a form to be required and to validate against a common mx:Validator. This works fine in general, but the customer wants that the validation comes up even if someone just sets the focus to the particular TextInput, doesn't type anything and immediately re

RE: [flexcoders] Validation errortip placement

2005-06-16 Thread Matt Chotin
rockmoyosa Sent: Thursday, June 16, 2005 7:28 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Validation errortip placement   I want an errortip on or on bottom of my textfield, instead of on the rightside. Yahoo! Groups Links To visit your group on the web, go to:http

[flexcoders] Validation errortip placement

2005-06-16 Thread rockmoyosa
I want an errortip on or on bottom of my textfield, instead of on the rightside. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! G