Re: Multiple forms per page, field IDs need to be unique

2009-01-12 Thread mark_story
specify the id attribute? -Mark On Jan 12, 6:05 am, Chris Hawes 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

Re: Multiple forms per page, field IDs need to be unique

2009-01-12 Thread brian
What Rogelio said. And, if you prefer buttons to links, you can always use javascript to swap your links for buttons. This would be a snap with jQuery. On Mon, Jan 12, 2009 at 12:34 PM, Rogelio Nodal wrote: > I'm new to CakePHP(day of reading documentation is pretty much my > experience) but If

Re: Multiple forms per page, field IDs need to be unique

2009-01-12 Thread Rogelio Nodal
I'm new to CakePHP(day of reading documentation is pretty much my experience) but If it was me doing it I would instead of using forms I would just add links in the form /produtcs/addtocart/45 or /products/addtocart/VeryNiceProduct and then use the flash function to redirect back to the products pa

Multiple forms per page, field IDs need to be unique

2009-01-12 Thread Chris Hawes
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 generati