Link to home
Start Free TrialLog in
Avatar of mrroy69
mrroy69

asked on

Drupal Reset Specific Field When Content Type iwth That Field is Edited (New Draft)

Greetings say for sample with the content type Basic Page, there is a field called Approved (Machine name: approved). When user submits content that content gets published to the users page. However in order for what the user published, an admin would have to edit that content and check the box Approved to allow the content to appear on the homepage.

Is there a way that when the user creates a new draft of that content to reset the Approved field to NULL or blank when the user saves the new draft? Let me know. Thanks
Avatar of oliverpolden
oliverpolden
Flag of United Kingdom of Great Britain and Northern Ireland image

Er... Use the moderation module
Avatar of mrroy69
mrroy69

ASKER

Obviously I am using the moderation module (Workbench Access/Moderation) The module doesn't reset a field . It's needed so that a user can't have privileges to publish content. That's not what I was asking...In addition to the content being moderated I was asking about a field being reset to its default value, like blank.
ASKER CERTIFIED SOLUTION
Avatar of Kalpan
Kalpan
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mrroy69

ASKER

Thank you sir! Have a great day!
Avatar of mrroy69

ASKER

I thought I already accepted Kalpan's answer...If not I apologize