![]() |
Form Validation Problem - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Form Validation Problem (/showthread.php?tid=65105) |
Form Validation Problem - nkhan - 04-29-2016 Hi , everyone I am new to codigniter, I am facing some problem with form validation. http://prntscr.com/ayfv61 Thanks. RE: Form Validation Problem - raghavgarg - 04-29-2016 What I understand from the screenshot is that you have two forms in one page and while showing errors of one form, the error displayed on both forms. I guess you are using the function validation_errors() for showing error. I suggest you to use form_error() function to show individual field error using their name attribute. Here is the link to documentation of this function. https://www.codeigniter.com/userguide3/helpers/form_helper.html#form_error RE: Form Validation Problem - nkhan - 04-30-2016 @raghavgarg Thanks |