Prevent user saving content type if a cck field has a value identical to previous

Events happening in the community are now at Drupal community events on www.drupal.org.
visitor82's picture

Hi

I have spent many hours trying to achieve this without success, so before I invest more I was hoping someone can tell me if its possible !

I have a content type that users fill in to make a selection (it's a cck drop down field).

I want a rule that stops User A from saving the node if user A has already created a node with the same value previously.

I would really appreciate any guidance no matter how brief to put me on the right track.

Cheers.

Comments

Unique field?

itangalo's picture

There is a module called Unique field (http://drupal.org/project/unique_field) that might do this – it is usually used to limit fields to unique values regardless of user, but it might have some additional settings you can use.

Good luck,
//Johan Falk
**
Learn Drupal with Nodeone! Drupal 7 introduction | The Views module | Learn Page manager! | Drupal configuration learning curve | Rules for Drupal 6 | Theming Drupal 6 | 49 Drupal 6 modules you should know

Thanks Johan and thanks

visitor82's picture

Thanks Johan and thanks especially for the nodeone videos. I have watched them a few times each. I also want to apologise for the guy whose only comment was he had a problem with your noisy keyboard ;-)

Unique Field Should be able

pragnatek's picture

Unique Field Should be able to do this. You can restrict by Author as well as by field.

Yes !

visitor82's picture

It works as advertised thanks for the help !

Rules

Group organizers

Group categories

Categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: