Form validation: error message |
Base URL for registration page:
Code: http://localhost/codeigniter-project/users/register Registration page: PHP Code: <?php echo validation_errors('<p class="bg-danger">'); ?> Controller: PHP Code: class Users extends CI_Controller When I open the URL for the very first time there were no validation errors produced. But if I try to fill the form and for example provide only 'fisrt name' (and do not provide 'last name'), then validation errors generated and displayed on the register page. So why were no errors genererated in the beginning, when I open the base url for the very first time? |
Messages In This Thread |
Form validation: error message - by Serializable - 09-22-2018, 03:40 AM
RE: Form validation: error message - by jreklund - 09-22-2018, 04:14 AM
RE: Form validation: error message - by dave friend - 09-22-2018, 05:36 AM
RE: Form validation: error message - by Wouter60 - 09-22-2018, 10:39 AM
RE: Form validation: error message - by Serializable - 09-22-2018, 01:28 PM
|