[symfony-users] Re: Detecting required fields
Thanks! On May 21, 1:04 pm, gimler gordon.fra...@web.de wrote: http://blog.nevalon.de/en/wie-kann-ich-alle-formular-pflichtfelder-mi... greetings Gimler On May 21, 6:17 pm, Steve the Canuck steve.san...@gmail.com wrote: Hi, Is there an easy way to determine if a field isrequiredprior to rendering it? I'd like to render it with an * beside the label tag if it isrequired. I don't see a method like isRequired() built into the sfForm class, but I was wondering if anyone has a solution for this? If not, I will probably just create a helper to do this. Thanks Steve --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[symfony-users] Re: Detecting required fields
http://blog.nevalon.de/en/wie-kann-ich-alle-formular-pflichtfelder-mit-einem-kennzeichnenhow-can-i-mark-all-required-form-fields-with-a-20090319 greetings Gimler On May 21, 6:17 pm, Steve the Canuck steve.san...@gmail.com wrote: Hi, Is there an easy way to determine if a field is required prior to rendering it? I'd like to render it with an * beside the label tag if it is required. I don't see a method like isRequired() built into the sfForm class, but I was wondering if anyone has a solution for this? If not, I will probably just create a helper to do this. Thanks Steve --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---