AAAAcomponents/com_chronoforms/form_actions/auto_serverside_validation/auto_serverside_validation.ctp 0000604 00000031130 15137245141 0036614 0 ustar 00 home/academiac/www/administrator
Header(array('fields' => 'Fields', 'errors' => 'Error Messages', 'help' => 'Help'), 'auto_serverside_validation_config_{n}'); ?>
tabStart('fields'); ?>
input('action_auto_serverside_validation_{n}_required_config', array('type' => 'text', 'label' => "Required", 'class' => 'medium_input', 'value' => '', 'smalldesc' => "Comma delimited list of required fields names, these fields should exist in the data array in order to pass this check.")); ?>
input('action_auto_serverside_validation_{n}_not_empty_config', array('type' => 'text', 'label' => "Not Empty", 'class' => 'medium_input', 'value' => '', 'smalldesc' => "Comma delimited list of fields names which should not be empty.")); ?>
input('action_auto_serverside_validation_{n}_empty_config', array('type' => 'text', 'label' => "Empty", 'class' => 'medium_input', 'value' => '', 'smalldesc' => "Comma delimited list of fields names which should be empty.")); ?>
input('action_auto_serverside_validation_{n}_alpha_config', array('type' => 'text', 'label' => "Alpha", 'class' => 'medium_input', 'value' => '', 'smalldesc' => "Comma delimited list of fields names which should only contain an alpha value.")); ?>
input('action_auto_serverside_validation_{n}_alphanumeric_config', array('type' => 'text', 'label' => "Alpha Numeric", 'class' => 'medium_input', 'value' => '', 'smalldesc' => "Comma delimited list of fields names which should only contain an alpha numeric value.")); ?>
input('action_auto_serverside_validation_{n}_digit_config', array('type' => 'text', 'label' => "Digit", 'class' => 'medium_input', 'value' => '', 'smalldesc' => "Comma delimited list of fields names which should only contain a digit value.")); ?>
input('action_auto_serverside_validation_{n}_nodigit_config', array('type' => 'text', 'label' => "No Digit", 'class' => 'medium_input', 'value' => '', 'smalldesc' => "Comma delimited list of fields names which should only contain a non digit value.")); ?>
input('action_auto_serverside_validation_{n}_number_config', array('type' => 'text', 'label' => "Number", 'class' => 'medium_input', 'value' => '', 'smalldesc' => "Comma delimited list of fields names which should only contain a number value.")); ?>
input('action_auto_serverside_validation_{n}_email_config', array('type' => 'text', 'label' => "Email", 'class' => 'medium_input', 'value' => '', 'smalldesc' => "Comma delimited list of fields names which should only contain an email value.")); ?>
input('action_auto_serverside_validation_{n}_phone_config', array('type' => 'text', 'label' => "Phone", 'class' => 'medium_input', 'value' => '', 'smalldesc' => "Comma delimited list of fields names which should only contain a phone value.")); ?>
input('action_auto_serverside_validation_{n}_phone_inter_config', array('type' => 'text', 'label' => "International Phone", 'class' => 'medium_input', 'value' => '', 'smalldesc' => "Comma delimited list of fields names which should only contain an international phone value.")); ?>
input('action_auto_serverside_validation_{n}_url_config', array('type' => 'text', 'label' => "URL", 'class' => 'medium_input', 'value' => '', 'smalldesc' => "Comma delimited list of fields names which should only contain URLs.")); ?>
tabEnd(); ?>
tabStart('errors'); ?>
input('action_auto_serverside_validation_{n}_required_error_config', array('type' => 'text', 'label' => "Required", 'class' => 'medium_input', 'value' => '', 'smalldesc' => "Error message for required fields.")); ?>
input('action_auto_serverside_validation_{n}_not_empty_error_config', array('type' => 'text', 'label' => "Not Empty", 'class' => 'medium_input', 'value' => '', 'smalldesc' => "Error message for not empty fields.")); ?>
input('action_auto_serverside_validation_{n}_empty_error_config', array('type' => 'text', 'label' => "Empty", 'class' => 'medium_input', 'value' => '', 'smalldesc' => "Error message for empty fields.")); ?>
input('action_auto_serverside_validation_{n}_alpha_error_config', array('type' => 'text', 'label' => "Alpha", 'class' => 'medium_input', 'value' => '', 'smalldesc' => "Error message for alpha fields.")); ?>
input('action_auto_serverside_validation_{n}_alphanumeric_error_config', array('type' => 'text', 'label' => "Alpha Numeric", 'class' => 'medium_input', 'value' => '', 'smalldesc' => "Error message for alpha numeric fields.")); ?>
input('action_auto_serverside_validation_{n}_digit_error_config', array('type' => 'text', 'label' => "Digit", 'class' => 'medium_input', 'value' => '', 'smalldesc' => "Error message for digit fields.")); ?>
input('action_auto_serverside_validation_{n}_nodigit_error_config', array('type' => 'text', 'label' => "No Digit", 'class' => 'medium_input', 'value' => '', 'smalldesc' => "Error message for non digit fields.")); ?>
input('action_auto_serverside_validation_{n}_number_error_config', array('type' => 'text', 'label' => "Number", 'class' => 'medium_input', 'value' => '', 'smalldesc' => "Error message for number fields.")); ?>
input('action_auto_serverside_validation_{n}_email_error_config', array('type' => 'text', 'label' => "Email", 'class' => 'medium_input', 'value' => '', 'smalldesc' => "Error message for email fields.")); ?>
input('action_auto_serverside_validation_{n}_phone_error_config', array('type' => 'text', 'label' => "Phone", 'class' => 'medium_input', 'value' => '', 'smalldesc' => "Error message for phone fields.")); ?>
input('action_auto_serverside_validation_{n}_phone_inter_error_config', array('type' => 'text', 'label' => "International Phone", 'class' => 'medium_input', 'value' => '', 'smalldesc' => "Error message for international phone fields.")); ?>
input('action_auto_serverside_validation_{n}_url_error_config', array('type' => 'text', 'label' => "URL", 'class' => 'medium_input', 'value' => '', 'smalldesc' => "Error message for URL fields.")); ?>
tabEnd(); ?>
tabStart('help'); ?>
- Enter the fields names you want to check in the text field for the rule you want them to be checked against.
- If a field failed the check, the fail event will be fired and the error will be shown.
tabEnd(); ?>