• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
registration form (form_validation) and ajax without refresh page

#4
[eluser]stormbytes[/eluser]
Hah was just thinking that! BUT - That's just a basic tutorial on Ajax->CodeIgniter. If you want to collect validation errors you'll have to create an array, picking each field->error (using form_error('field_name')) then JSON-it and pass it back to the Ajax function - THEN distribute each of the validation errors to separate tags <p></p> or whatever...


Messages In This Thread
registration form (form_validation) and ajax without refresh page - by El Forum - 04-16-2011, 08:01 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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