[support] Drafts and required fields

Dani Matielo dacamat at gmail.com
Fri Oct 16 14:41:51 UTC 2009


Hello, all,

I am working in a system that should have the following workflow:

After a user has registered, he is able to create one (and just one) node of
a certain content type, which has several fields.

In order to "submit" que node type, there are several fields that should be
filled, and thus I marked them as required.

However, this person should also be able to save an "Incomplete" content
type, as a "draft", before submiting it. And, in this case, the fields
wouldn't have to be filled.

After the content is submitted, the user should not be able to edit it
anymore.

Ok, so, how have I done it so far?

I created the content type and then used save&edit (
http://drupal.org/project/save_edit) to create two status: published and
saved.

Then I used Skip validation (http://drupal.org/project/skip_validation) so,
when the person just saves the content type, it skips validation.

And the validation is just done when the person publishes the node, which is
when I used Rules (http://drupal.org/project/rules) in order to prevent send
e-mail and prevent further access to the content.

Sounded good, but the problem is that the content is not being save after
skipping validation.

So, here I am, trying to think about another way of doing this. My
doubts/thoughts until now are:

- is there a module that makes a different kind of validation which is not
the core validation?

- why is the content type not being save after skipping validation?

- does anybody have any different idea of how i could do this?

thank you in advance,

best regards,

daniela
-





-- 
Daniela de Carvalho Matielo
dacamat.com.br | weblab.tk | lixoeletronico.org
twitter: @danimatielo

"The only people for me are the mad ones, the ones who are mad to live, mad
to talk, mad to be saved, desirous of everything at the same time, the ones
who never yawn or say an uncommon-place thing, but burn, burn, burn like
fabulous yellow roman candles." ~ Jack Kerouac
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20091016/63ce3ce7/attachment.html 


More information about the support mailing list