On my site www.guitarxperts.com I thought I was being really clever in making extensive use of form_alter() to convert all the HTML buttons to rollover images. Certainly looks prettier! However, I have just run into a fairly major problem which affects IE7 (and maybe IE6, although I've not tested it yet) in which the Ubercart checkout gets thoroughly broken!
The problem resolves around the fact that with multiple submit images (rather than buttons) on a form, IE7 no longer sends the name of the input field to the server, and so the variable $op is never seen by Drupal and thus once you are on the View Cart page, you go round in circles on it, whether you click "COntinue shopping", "Update caddy" or "Place order". Even worse, any basket changes you make don't get submitted either. A similar problem occurs on the Order Confirmation page.
I have had to revert to HTML buttons for the time being on these 2 pages, and I guess I'll have to use javascript to hack round the problem, or convert some of the buttons to HREFs instead and add a couple of menu callbacks.
Hopefully this information will help anyone who tries to go down the same route...
Regards,
- Paul




Joined: 03/11/2008