php Programming Glossary: form_validation
how to get zend studio autocomplete with codeigniter http://stackoverflow.com/questions/1080068/how-to-get-zend-studio-autocomplete-with-codeigniter CI_Config db new CI_DB_active_record email new CI_Email form_validation new CI_Form_validation input new CI_Input load new CI_Loader..
Adding custom callback to Codeigniter Form Validation http://stackoverflow.com/questions/12878863/adding-custom-callback-to-codeigniter-form-validation 'mywork.com' pos strpos email findme if pos FALSE this CI form_validation set_message 'email_check' The s field does not have our email... callback_spare_email ... for password this CI form_validation set_rules config php codeigniter form validation share improve.. CI_Controller function submit_signup this load library 'form_validation' if this form_validation run 'submit_signup' error else p..
CI - show database error or fail http://stackoverflow.com/questions/16478481/ci-show-database-error-or-fail here's the logic public function login this load library 'form_validation' field name error message validation rules this form_validation.. field name error message validation rules this form_validation set_rules 'email' 'Your Email' 'trim required valid_email' this.. 'email' 'Your Email' 'trim required valid_email' this form_validation set_rules 'password' 'Password' 'trim required min_length 4..
MVC Question: Should I put form validation rules in the controller or model? http://stackoverflow.com/questions/5651175/mvc-question-should-i-put-form-validation-rules-in-the-controller-or-model it passed validation or not. Example this load library 'form_validation' this form_validation set_rules 'name' 'Name' 'required' this.. or not. Example this load library 'form_validation' this form_validation set_rules 'name' 'Name' 'required' this form_validation set_rules.. form_validation set_rules 'name' 'Name' 'required' this form_validation set_rules 'email' 'Email' 'required valid_email' ........ if..
Codeigniter 2 forms on one page, validation_errors problem http://stackoverflow.com/questions/5802729/codeigniter-2-forms-on-one-page-validation-errors-problem 'Submit Form 1' OR check the submit button value if this form_validation run process form else Create a variable with errors assigned..
Tank Auth Adding Fields http://stackoverflow.com/questions/7070326/tank-auth-adding-fields lastname Then replace in controllers auth.php if this form_validation run validation ok if is_null data this tank_auth create_user.. is_null data this tank_auth create_user use_username this form_validation set_value 'username' '' this form_validation set_value 'email'.. this form_validation set_value 'username' '' this form_validation set_value 'email' this form_validation set_value 'password'..
Upload multiple files in CodeIgniter http://stackoverflow.com/questions/8377218/upload-multiple-files-in-codeigniter this public function create_project this load library 'form_validation' this form_validation set_rules 'projectname' 'Project name'.. create_project this load library 'form_validation' this form_validation set_rules 'projectname' 'Project name' 'required' this form_validation.. set_rules 'projectname' 'Project name' 'required' this form_validation set_message 'required' 'This is an obligatory field' if this..
|