> I am new in cakephp. It provides me a easy tool to validate from sever > side the fields of any form. I want to provide clientside validation > also using javascript. Is there any easy solution?
You can do it with Prototype [1] (demo available at [2]). But anyway, why would you like to validate your forms twice? That's error-prone, and remember you CANNOT trust client side validation. If you are looking for a agile user experience, I would recommend submitting your form via AJAX (with Cake it's trivial), but always validate your forms in the server side. Hope it helps... [1] http://prototypejs.org [2] http://tetlaw.id.au/upload/dev/validation/index.html --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
