Hi Allen,

I've used solution 1. Not nice, but it works. Thank you!

Greets
Christoph

Allen Manning wrote:
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,
Allen
 
Allen Manning
Prismix Ltd t: +44 (0)870 749 1100 f: +44 (0)870 749 1200 w: www.prismix.com
 
 
 
 
 
 
 
 


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

Hi List,

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:
Accordion
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
****************************************
  


-- 
****************************************
 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

Reply via email to