Re: HOWTO to only skip "required" validators

2012-04-27 Thread Stijn Maller
I'm a bit late in responding so I don't know if this is still useful to you, but here is how we solved your requirement in our project. I'd still like to find a more elegant approach, but it is the least intrusive approach I could come up with and it sure beats the bazooka one. (which could really

Re: HOWTO to only skip "required" validators

2012-04-01 Thread Martin Grigorov
Hi, On Sun, Apr 1, 2012 at 4:18 AM, Emmanouil Batsis (Manos) wrote: > > I have a usecase for saving a draft of a form before actually submitting it. > > I'm trying to figure out how to only skip the "required" validators using a > "save draft" submit button in my form. Disabling default form proc

Re: HOWTO to only skip "required" validators

2012-03-31 Thread Jeff Schneller
Don't mark the fields as required and check the fields during the submit of the save and throw appropriate error message. The save as draft would not check the fields. It is not the most elegant solution but it works and is easy to implement. On Mar 31, 2012, at 10:18 PM, "Emmanouil Batsis (M

HOWTO to only skip "required" validators

2012-03-31 Thread Emmanouil Batsis (Manos)
I have a usecase for saving a draft of a form before actually submitting it. I'm trying to figure out how to only skip the "required" validators using a "save draft" submit button in my form. Disabling default form processing sounds like using a bazooka to shoot down a fly considering my form