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
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
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
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