Hi Oli, Basically you're just looking for client side form validation. You'd want to write some kind of interpreter that would take the model-based validation from CakePHP and translate it into Javascript that would load when the form loads so that it could be triggered with "onChange()" or something like that.
There is a sfFormValidation plugin for Symfony that does this, so you might take a peek at it if you need any idea conceptually how it works. - Keith 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 > > oli --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---