ajax forms |
[eluser]xpix[/eluser]
Hi all, Is there a theory on how to validate ajax loaded forms in codeigniter. Thx
[eluser]xwero[/eluser]
The same as you do with regular forms. - show form - submit form (with javascript validation if wanted) - validate the input - if the validation is invalid show the form with the error(s) - if the validation is valid show a success message or something like that
[eluser]nmweb[/eluser]
This ajax tutorial might help you, it's for Kohana but in CI it should be very similar. |
Welcome Guest, Not a member yet? Register Sign In |