Wednesday, May 5, 2010

Re: Form Tag!!!!

OK, if this problem is only down to a single form tag there is no need
to paste the rest of your view, some ppl are likely to see all of that
and move onto another post.

I would remove all options from the form tag and build it back up till
you find the problem

echo $form->create('UsersCoupon');

echo $form->create('UsersCoupon', array('id'=>'update'));

echo $form->create('UsersCoupon',
array('action'=>'changeStatustoUsed'));

echo $form->create('UsersCoupon', array('id'=>'update',
'action'=>'changeStatustoUsed'));

But the one I spotted in doing the above (couldn;t see it in amongst
all your other code) is that your url array only contained an action
and form accepts action as an option parameter so my 3rd/4th examples
may work for you.

HTH

Paul

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: