unset($interest);
}
}
+ unset(
+ $page->formData['cc_num'],
+ $page->formData['cc_type'],
+ $page->formData['cc_exp'],
+ $page->formData['cc_cvv'],
+ $page->formData['captcha_rmv']
+ );
+
+ if ($this->elementExists('pass_type')) {
+ $passType = filter_var($_POST['pass_type'], FILTER_VALIDATE_INT);
+ switch ($passType) {
+ case "89":
+ $page->formData['pass_type']['element'] = '$89.00 Internet Special';
+ break;
+ case "75":
+ $page->formData['pass_type']['element'] = '$75.00 AAA Member Special';
+ break;
+ default:
+ $page->formData['pass_type']['element'] = $passType;
+ break;
+ }
+ var_dump($page->formData['pass_type']);
+ exit;
+ }
/* Boolean types */
if ($this->elementExists('mail_ok')) {
}
return $output;
}
-
+
/**
* Return the existing contact/customer contact_type
*