Hi, in my form I have two buttons "Save as draft" and "Publish". In first case I need only 2 working validators and I need all fields to be validated when user clicks "Publish". I can check the pressed button and remove html5 "required" option with js, but I don't know how to disable validation dynamically for "Save as draft" on server side before calling $form->isValid(). I'd be glad to get any advices.
-- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to symfony-devs@googlegroups.com To unsubscribe from this group, send email to symfony-devs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en
