21 May
2008
21 May
'08
5:41 p.m.
On May 21, 2008, at 15:47 , Roberto Gerola wrote:
function storm_dependent_select_process($form, $edit, $form_state, $complete_form) { unset($form['#needs_validation']); return $form; }
I use #validated instead. This is more reliable, because it also skips user-defined validators. E.g.: $form['live_preview']['example'] = array( '#type' => 'hierarchical_select', '#title' => t('Preview'), // Skip all validation. '#validated' => TRUE, ); Wim Leers ~ http://wimleers.com/work