AAAAwww/administrator/components/com_chronoforms/form_actions/check_fields_hash/check_fields_hash.ctp 0000604 00000005127 15137375323 0032613 0 ustar 00 home/academiac
Header(array('settings' => 'Settings', 'help' => 'Help'), 'check_fields_hash_config_{n}'); ?>
tabStart('settings'); ?>
input('action_check_fields_hash_{n}_fields_config', array('type' => 'text', 'label' => 'Fields list', 'class' => 'big_input', 'smalldesc' => 'Comma separated list of fields, no spaces, you can use dots to get sub arrays values.')); ?>
input('action_check_fields_hash_{n}_hash_field_name_config', array('type' => 'text', 'label' => 'Hash field name', 'smalldesc' => '')); ?>
tabEnd(); ?>
tabStart('help'); ?>
- This action will generate a security hash of some fields values, you can check the hash back in the "on submit" event using the "check fields hash" action.
- The goal here is to make sure that these fields values have not been changed by the end user after they have been sent by the server.
- Insert a list of fields names to be hashed.
- The order of this action in the load routine, should only be when the fields data exist in the $form->data array.
- Only fields values in the $form->data array will be used, default fields values will NOT be checked and WILL generate a fail error if checked.
tabEnd(); ?>