07-06-2009, 11:41 PM
[eluser]tirso[/eluser]
hi to all
I was using ci form_validation for my forms. My question is how to use the javascript focus() on the field that has an error during the validation. What I am currently having now is to display the error message.
thanks in advance
Tirso
on my view to display errors
hi to all
I was using ci form_validation for my forms. My question is how to use the javascript focus() on the field that has an error during the validation. What I am currently having now is to display the error message.
thanks in advance
Tirso
on my view to display errors
Code:
<?php echo validation_errors(); ?>