CakePHP doesn't discern between html attributes, by default it escapes
all attribute values. If you want to change this behaviour, then you
can pass 'escape' = false as part of that second array, *however* you
will manually need to escape all other values (including the input
value I believe).
A
So I have input fields that need javascript events for onfocus and
onkeyup.. here is my code:
?php // Username
echo $form-input('username', array('onkeyup' = populateUrl
('username', 'usernameUrl');, 'onfocus'= showSignupHelp
('username');)); ?
That works, BUT when you look at the