Topic: text_field not working in IE6?

IS it just me or are the FormHelper text_field and text_area broken in IE6. I click on them but nothing happens. They work fine in decent browser of course.

Anyone know how to fix this? Please...?

Please don't respond with 'just tell your users to install IE7 or better yet FF or Chrome' because I really *can't* do that.

PS: I don't think this is a CSS problem. If I remove my stylesheet reference in the application.rhtml I still get the same problem.

I'm using Rails 2.1.

Last edited by ac76 (2008-09-10 06:52:55)

Re: text_field not working in IE6?

You probably have something else that is wrong in your HTML code. Textarea and text field is working fine in IE 6. Try with a default scaffold and you'll see.

David Svensson
Rails developer at Standout solutions, Vaxjo, Sweden

Re: text_field not working in IE6?

Hi, thanks for your reply. Just did an edit of the post above.

I tried the default. I also tried removing the scaffold.

My template is pretty 'hello-world' like, here's an extract...

<h1>Editing invoice</h1>

<% form_for(@invoice) do |f| %>
  <%= f.error_messages %>

  <p>
    <%= f.label :quote %><br />
    <%= f.check_box :quote %>
  </p>
... cut out a lot of the same sort of stuff here ....
  <p>
    <%= f.label :send_to %><br />
    <%= f.text_area :send_to %>
  </p>
  <p>
    <%= f.submit "Update" %>
  </p>
<% end %>

<%= link_to 'Show', @invoice %> |
<%= link_to 'Back', invoices_path %>

Re: text_field not working in IE6?

Ah panic over. It turns out my version of 'Multiple IEs' seems to be broken. I've tested it in a colleagues IE6 and it worked fine.

Thanks anyway.