I think the easiest way to achieve this would be if the admin generator made the CSS class of the label and input of the required column as "required" - then it would be up to you how you wanted to style that (if it all) to express that it was a required field.
I already do a similar thing manually when I build forms - make the DIV containing the label and the input selector "required" - I can revisit the CSS at a later date once I know if or how the requirements dictate that a required field is communicated to the user On 16 Jan 2009, at 06:58, CiPheR wrote: > > Does anyone know how to automatically add an indicator (like "*" or > "required") to the labels of propel generated forms? Considering that > the form validator already knows which fields are required, it would > be nice if we can show the user which fields are required right away > rather than have them submit and the come back with "required" > validation messages. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---