naughty radio_buttons

Mike Dershowitz wrote:

Alex Wayne wrote:

Mike Dershowitz wrote:

hi:

I have 2 radio buttons that are just interface elements:

Mike

The name of both radio buttons is '', an empty string. The browser will only allow one selection based on the radio buttons name. I think the browser is getting confused by the lack of a name.

So give that first parameter a real value, and it should work fine.

Hi Alex:

Thanks so much for your reply. I had it this way:

<%= radio_button_tag ('duedate', 0, checked = false, options = {:onclick => ""}) %> <%= radio_button_tag ('noduedate', 1, checked = false, options = {:onclick => ""}) %>

And it still didn't work. but that's because there aren't any values for these two things, no methods, because they're really not supposed to be hooked up to anything.

Pretty sure that needs to be

<%= radio_button_tag ('duedate', 0, checked = false, options = {:onclick => ""}) %>

<%= radio_button_tag ('duedate', 1, checked = false, options = {:onclick =>""}) %>