• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Form Validation Problem

#1
Hi , everyone 

I am new to codigniter, I am facing some problem with form validation. 


http://prntscr.com/ayfv61

Thanks.
Reply

#2
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/h...form_error
Reply

#3
@raghavgarg

Thanks
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme ¬© 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.