Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Using twitter_bootstrap all forms don't work at all in Internetexplorer 6 and Internetexplorer 7.
After some debugging I noticed that this browsers need type = "submit" in the button element.
See http://www.thefutureoftheweb.com/blog/button-wont-submit-in-ie.
Comment | File | Size | Author |
---|---|---|---|
#4 | twitter_bootstrap_form_submit_not_working_ie7-1541630-4.patch | 641 bytes | queenvictoria |
#1 | twitter_bootstrap_form_submit_not_working_ie7-1541630.patch | 742 bytes | criz |
Comments
Comment #1
crizhere is the patch.
Comment #2
tmsimont CreditAttribution: tmsimont commentedMight I ask -- why use the button tag? Drupal uses inputs over buttons, and AFAIK the button tag is not reliable in IE6-7 for multiple-submit-button forms... Wouldn't it be better to just use Drupal standard and go with input?
Comment #3
sariel CreditAttribution: sariel commentedNot to sound mean, but IE6 has zero support and IE7 is soon to follow. Why develop for a browser that's 6 years old and can't even use most the styling techniques commonly used today?
Comment #4
queenvictoria CreditAttribution: queenvictoria commentedMy fix is to add type to the elements list.
@sariel -- it's an easy fix. Some orgs can't upgrade their old pc's / windows due to cost. It's a one line fix--why not fix it?
Comment #5
frankbaele CreditAttribution: frankbaele commentedthx for the fix will be added to the theme
Comment #6
frankbaele CreditAttribution: frankbaele commentedComment #8
andregriffin CreditAttribution: andregriffin commented