Quantcast
Channel: CodeIgniter Forums - All Forums
Viewing all articles
Browse latest Browse all 14353

Form Validation Help

$
0
0
Sorry if this isn't the correct section to post. I took over the management of a site that uses codeigniter, and the previous account registration page gave the following format for errors when filling out the registration forms for its fields:

 
.jpg   currenterror.JPG (Size: 17.43 KB / Downloads: 20)

However, when I try to add more fields to the account registration page, adding new form validation rules as instructed in the codeigniter manual for each respected field in the controller for the page, the format for the errors is as following:


.jpg   desirederror.JPG (Size: 12.11 KB / Downloads: 19)
which appears above the fields at the top of the page.

I believe this is the expected error message format. I believe there is nothing in the controller that results in the original error messages, and I'd like to have all fields use the same (second) format since I know how to edit it/can control it. So I guess my question is whether there is some hidden location for form validation? I've looked in the imported form_validation library, all associated models/views that are relevant to the controller, and can't seem to find any where to delete the old error format.

If I need to provide more, specific information I can. Thanks for the help in advance.

Viewing all articles
Browse latest Browse all 14353

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>