Hi again, a colleague of mine gave me a hint: Look at FieldLabel. FieldLabel handles exactly the same problem and uses preRender(). I could solve it analogous.
Regards, Christian Christian Haselbach wrote: > Hi, > > I'm using a required validator on a TextField and use the form delegate > to check whether there is an error in the TextField. If so, I render an > error message. However, this message is rendered before the input-field > is rendered. > > The problem starts when I have this TextField in a For loop. Now a > validation error message is shown an the next TextField, instead of the > TextField that really has the problem. > > Interestingly, if the last TextField is wrong, the first TextField gets > the error message. > > Anyone knows a solution? > > Thanks and regards, > Christian > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]