Ok.  Now I feel a bit sheepish.  It states in the Action Script Docs for
FormItem that 'required' property just shows or hides the asterix(star)
in the UI.  Nothing more.  I got myself totally confused by looking at
the Flex Store example that sneaks in their own validator,
RequiredFieldValidator.  I assumed that this was part of either the
StringValidator, if you applied it to a field, or it was tied into the
'required' field.

Could somebody at Macromedia please make a simple addition of a required
field to the StringValidator or just make it so that if you apply it to
a field it becomes a required field.  This would be similar to how the
EmailValidator behaves.  (you input a character, remove the character,
the move to another field, the email field will be marked as required.)

        Thanks,

        -Kent

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Kent Henneuse
Sent: Saturday, June 18, 2005 12:17 AM
To: [email protected]
Subject: [flexcoders] Modifying Panel and Text Input

I have a couple of cases where I would like to modify the default
components
to display differently, beyond what I can do in the CSS.  I would like
to
avoid building all new components but I will if I have to.

The first is that I would like to create TextInputs that are required
but do
not show the star next to the field.  Think of a form where everything
is
required.  Having the star next to each component is distracting rather
then
valuable.  

The second case is that I would like to be able to put in an icon next
to
the title on a panel.  I see that there is an icon property for
container
but it has no effect on the panel.(maybe I just don't have it set up
correctly.)  Control over the placement of the icon in relation to the
title
would be nice, but not critical.

So what does the group have to say?

        Thanks,

        -Kent 

"Black holes are where God divided by zero."
    - Steven Wright
 



 
Yahoo! Groups Links



 






 
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! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to