Is there any way with this module to escape validation on save as draft?

Comments

ymmatt’s picture

To clarify the question: You want to be able to save the node without validating any of the fields?

nathanraft’s picture

Yes. This way someone can save as a draft if they have not finished entering all the required fields.

ymmatt’s picture

Title: Escape validation » Save as draft without validating content
Status: Active » Closed (works as designed)

Off the top of my head here are a few reasons why we wouldn't want to do this, even if we could:

  • This module requires that there are previously published pages, these pages must have been validated, so the required content is there already
  • The validation functions are there for a reason
  • Security

I hope this makes sense.

storbaek’s picture

NathanRAFT have an interessting point. We are in need of the same as we have a large form that requires people to enter location and other things. However, they are not necessary as long as it is a draft where people are testing some html code for themselfes

nathanraft’s picture

Check this out. Seems to have promise for saving as apposed to saving as a draft (which makes sense in its own right)
http://drupal.org/node/156036