|
Hello Christoph,
There are two approaches that I have seen so far to
solving this problem:
1. Concatenate a message "Requires Attention" to
the existing title if the form is not valid. (I2 book chapter 8 I
think...)
2. Attach an image to child container header,
like a little red exclamation or an informational 'i' icon and provide a tool
tip. (As seen in Caledonian Bank if I remember correctly...). I haven't
seen a code snippet of this, but I would imagine that it is floating around
somewhere. If so I would like to see it.
HTH,
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Christoph Guse Sent: 08 June 2005 10:31 To: [email protected] Subject: [flexcoders] Accordion, fillColors and a Validator I use an Accordion with several childs which are together one big form. I use Validator.isStructureValid() to validate the Form. The validation-process works well. I'll give you a little screenshot: ![]() Every thy the button "eintragen" is pushed, Validator.isStructureValid() is called. My problem is that the user can't see the invalid "Vorname" and invalid "Nachname" if the Accordion-child "Web / Info" is active. To solve this problem I tried to change the accordionHeader-color: var myColor = [0xFF0000,0xFFFFFF]; myAccordion.getHeaderAt(0).setStyle("fillColors",myColor); But this didn't work. Perhaps it is not possible to change a style on runtime? How can I flag the first accordion header when some values in it are not valid? I appreciate for any thought. Greets Christoph -- **************************************** Christoph Guse L�hstra�e 34 41747 Viersen Tel. 0 21 62 / 50 24 066 Mobil 01 72 / 160 74 84 VoIP 0 12 12 / 39 64 48 831 **************************************** Yahoo! Groups Links
|
- RE: [flexcoders] Accordion, fillColors and a Validator Allen Manning
- Re: [flexcoders] Accordion, fillColors and a Validator Christoph Guse
- Re: [flexcoders] Accordion, fillColors and a Validator Manish Jethani


