On May 22, 1:34 pm, Oli <[EMAIL PROTECTED]> wrote:
> hey,
>
> can someone explain me howto validate a form using ajax?
> submission works fine but ive no clue how to validate the form
> correctly before saving the data
>

Validation occurs just the same as a normal request. I don't use the
AJAX helpers (mixing JS and HTML is a deal breaker for me), but it
might just be that you're not seeing the error messages. If your
controller is programmed properly you don't need to know if it's an
AJAX request or not--it's all HTTP POST.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to