AAAAemail_verification_response.ctp 0000666 00000007455 15137443343 0013051 0 ustar 00
Header(array('settings' => 'Settings', 'help' => 'Help'), 'email_verification_response_config_{n}'); ?>
tabStart('settings'); ?>
getTableList();
$options = array();
foreach($tables as $table){
$options[$table] = $table;
}
?>
input('action_email_verification_response_{n}_table_name_config', array('type' => 'select', 'label' => 'Table', 'options' => $options, 'empty' => " - ", 'class' => 'medium_input', 'smalldesc' => 'The table at which the form data is saved.')); ?>
input('action_email_verification_response_{n}_verify_field_config', array('type' => 'text', 'label' => "Verification code field name", 'class' => 'medium_input', 'smalldesc' => 'The field name at which the verification code is saved.')); ?>
input('action_email_verification_response_{n}_verification_status_field_config', array('type' => 'text', 'label' => "Verification status field name", 'class' => 'medium_input', 'smalldesc' => 'The field name at which the verification status is saved.')); ?>
input('action_email_verification_response_{n}_files_array_field_config', array('type' => 'text', 'label' => "Files array field name", 'class' => 'medium_input', 'smalldesc' => 'The field name at which the files array is saved.')); ?>
tabEnd(); ?>
tabStart('help'); ?>
- Select the db table where you want your form data to be loaded from.
- Enter the name of your verification code field without any spaces.(e.g: verify)
- Enter the name of your verification status field without any spaces.(e.g: verified)
- You can use the success (or fail) events to do whatever you need after the response is processed.
tabEnd(); ?>