In Drupal 7, is there a way to change the standard edit form for a content type based on a certain content?
For example:
I have a content type with a checkb
function your_module_form_alter(&$form, &$form_state, $form_id){ switch($form_id) { case 'nameOfTheNode_node_form': //your code here. check the value from from_state. break; } }