I have created a form with:

$form->create('Game', array('action' => 'answer', 'class'=>'iform'));

which results in a form with the id GameAnswerForm

When I try to run a js script with GameAnswerForm.submit() inside, firebug
pops up an error saying GameAnswerForm is not defined. I have tried adding
name param inside array and nothing happens.

If I create a form the old fashion way, everything works fine.

I am going nuts over this one. Thanks.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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

Reply via email to