Thursday, 12 September 2013

Show a subset of an edit form based on status of a content type

Show a subset of an edit form based on status of a content type

In Drupal 7, is there a way to change the standard edit form for a content
type based on a certain status?
For example:
I have a content type with a checkbox...once it it checked and the form is
saved, I do not want this checkbox to be visible anymore...therefore based
on the checkbox status I want to hide form fields.
I am building a small specific project site, where a company wants to add
projects, and their customers are supposed to follow certain steps (upload
some content, provide information etc.), and also should be able to check
off certain requirements, and once these are checked off, they should not
be visible/editable to them.
Is there a module, which could achieve this behaviour? "rules" and
"field/permissions" come close to what I need, but are not sufficient. Or
did I just miss the option to change a form field's accessibility based on
conditions?
What I need is some place to define a logic like "IF (VALUEOF(CHECKBOX_1)
== TRUE) THEN HIDE(CHECKBOX_1)"

No comments:

Post a Comment