Karl Guertin <[EMAIL PROTECTED]> writes: > On 1/17/06, Jorge Godoy <[EMAIL PROTECTED]> wrote: >> Is there any attribute that can be used to differentiate a required "widget" >> of an optional widget? > > You either don't pass a validator or do > validator=V.Any(V.Int,V.Empty). I import validators as V.
And how can I apply some CSS so that the user knows he has to fill in these fields before seeing an error? I have "validator = V.String(if_empty = None)" that gives me the same result, but without the visual feedback when the form is shown (imgine 'red dots' on required fields, for example). -- Jorge Godoy <[EMAIL PROTECTED]>

