specify the id attribute?

-Mark

On Jan 12, 6:05 am, Chris Hawes <m...@chrishawes.net> wrote:
> Hello,
>
> I'm currently working on an e-commerce application.
>
> On the product pages, I am generating a form to add products to the
> cart. As such, each page can contain several forms.
>
> I've created a helper for my application which contains: product
> display; add to cart form generation; menu generation for the cms;
> etc.
>
> My helper uses the Form and HTML helpers.
>
> Each form I create has the same ID (CartAddForm) as each form has the
> same action.
> Also, each field within the form shares the same ID with the form
> elements in the other forms (eg. CartProductDescription).
>
> As such, the pages fail validation.
>
> Can anyone immediately think of a way around this?
>
> Thanks,
>
> Chris.
--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to