I'm trying to create a very slimmed down node edit page for a content type. One of the things I'm doing is hiding the additional_settings section with
#access = false.
This is what I'm using:
$form['additional_settings']['#access'] = FALSE; $form['options']['status']['#default_value'] = TRUE;
#access = false, when I save the node after editing, it set to unpublished.
I've tried using
$form_state['values']['status'] = TRUE; in a form submission handler, but that doesn't help.