function tripal_pub_setup_form_ajax_button_validate

2.x tripal_pub.pub_importers.inc tripal_pub_setup_form_ajax_button_validate($form, &$form_state)
3.x tripal_chado.pub_importers.inc tripal_pub_setup_form_ajax_button_validate($form, &$form_state)

This function is used to rebuild the form if an ajax call is made vai a button. The button causes the form to be submitted. We don't want this so we override the validate and submit routines on the form button. Therefore, this function only needs to tell Drupal to rebuild the form

Related topics

1 string reference to 'tripal_pub_setup_form_ajax_button_validate'
tripal_pub_importer_setup_add_criteria_fields in tripal_pub/includes/tripal_pub.pub_importers.inc
A helper function for the importer setup form that adds the criteria to the form that belong to the importer.

File

tripal_pub/includes/tripal_pub.pub_importers.inc, line 594
Management of importers

Code

function tripal_pub_setup_form_ajax_button_validate($form, &$form_state) {
  $form_state['rebuild'] = TRUE;
}