So I'm trying to figure out how to address the following problem: I'm using a textarea with the name "data[Model][Field]" so I have access to the short hand form validation inside CakePHP.
Now, this is becoming a bit of a problem, since I use JavaScript to insert smileys and other code snippets into the text field. I'm having the JavaScript read the field properties, but since the format of the name of the textarea is the same as an array, JavaScript just halts, giving me an error telling me that, in my example here, "Model" is not defined. Can I somehow change either the behaviour of JavaScript or CakePHP so that I can use a name property without losing field validation? Regards DrLaban --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
