Welcome Guest, Not a member yet? Register   Sign In
Form validation error for each field apart
#1

[eluser]anis2505[/eluser]
Hi there,

Maybe this is simple, but I couldn't figure out how to do it.
All I need just how to display form validation error for each field apart just like the most of website do.

regards
#2

[eluser]Sanjay Sarvaiya[/eluser]
By using form_error() you can display field's error, using bellowed code.

Code:
echo form_error('your_form_field');

thats it.
#3

[eluser]anis2505[/eluser]
thanks,
That was very helpfull.

regards.




Theme © iAndrew 2016 - Forum software by © MyBB