You are here

function pardot_admin_scoring_submit in Pardot Integration 7

Same name and namespace in other branches
  1. 6 pardot.admin-scoring.inc \pardot_admin_scoring_submit()
  2. 7.2 pardot.admin-scoring.inc \pardot_admin_scoring_submit()

Form submission handler for pardot_admin_scoring().

See also

pardot_admin_scoring_validate()

File

./pardot.admin-scoring.inc, line 76
Admin scoring form.

Code

function pardot_admin_scoring_submit($form, $form_state) {
  $score = (object) $form_state['values'];
  drupal_write_record('pardot_scoring', $score);
}