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
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)
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
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
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
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
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
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
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
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 )
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
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
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
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
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,
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
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...
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
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
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
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
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
*
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,
// __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
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
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
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,
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
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
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
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
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
: [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
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
@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
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
] 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
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
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
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
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
41 matches
Mail list logo