I've attached a Process button on the node edit form. But on clicking it - in it's validation function
form_set_error is not working.
In my form_alter I've this code:
$form['buttons']['process'] = array( '#type' => 'submit', '#value' => 'Process', '#validate' => array('disavow_process_validate'), ); $form['#validate'] = 'disavow_validate';
So on pressing "Process" button validator function
disavow_process_validate is called with $form and &$form_state. But
form_set_error and assigning values in the $form_state are not working as working in the normal validation function
What could be the problem?