Custom Messages
Override¶
Custom error messages are defined in a field's messages attribute in the config array:
1 2 3 4 5 6 7 8 9 10 11 | <?php array( 'first_name' => [ 'label' => 'First Name', 'rules' => 'required', 'messages' => [ 'required' => 'Your first name cannot be empty', ], ] ); |