내가 좋아하는 양식을 작성했습니다 :드루팔 양식 액션
function create_custom_form($form, &$form_state) {
$form['#action'] = "#";
....
}
function create_custom_form_validate($form, &$form_state) {
....
}
function create_custom_form_submit($form, &$form_state) {
....
if(..)
drupal_goto('abc');
else
drupal_goto('xxx');
}
내가이 양식의 드루팔 전에 행동으로 이동 후 것은 내가 행동 양식을 무시하고 읽기 전용 할 수있는 방법 ... 내 기능을 읽을 제출 _submit 함수?
'$ form ['submit '] = array ('create_custom_form_submit ');'에 의해 제출 단추에 핸들러를 추가하십시오. –