
Sebastian Schlapkohl - 2012-01-11 09:01:40 -
In reply to message 1 from w. studer
1) You can decide between normal and reduced error marking for each widget by using ->useReducedErrorMarking() on a form. Depending on this settingg each row or only the widget itself gets the standard htmlform_error-css-class (firebug is your friend here, also see the index.php at the bottom) if the validation failed on this field. You can simply style that class and everything should be alright. If you really specifically need to know if a widget is valid, you can call ->isValid() on every formelement.
2) see 1)
3) In a future version maybe, right now, this is HTML4 with (coming) JS on top. But the thought already crossed my mind :D