How can I validate a single field using Ajax? I am attempting to use jquery remote feature to check fields for validity. But its checking the entire model and reporting fields that have not had data entered. If a form has 3 fields and the user types into the second field for example i only want to check if that field is valid, not the entire form. I am trying to validate an email to start off with so data[Profile][email] = [email protected] gets sent to cake to validate How can I validate only Profile.email? I want to use the same function eventually to validate other fields so i do not want to hard code 'email' into the function. Is there a way to get the field name [email] as a variable and then validate just that rule in the model and return a true or false? Thanks Dave
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
