Radio button issue on Firefox

2 posts by 2 authors in: Forums > CMS Builder
Last Post: January 13, 2014   (RSS)

By paulmac - January 9, 2014

Hi

I have the following code that allows users to subscribe to a mailing list:

<label>
yes <input name="mailing_list" value="1" <?php checkedIf(@$_REQUEST['mailing_list'], '1') ?> type="radio" />
no  <input name="mailing_list" value="0" <?php checkedIf(@$_REQUEST['mailing_list'], '0') ?> type="radio" />
</label>

It works okay in IE and Chrome, but not in FF. When a user clicks "No" in FF the "Yes" button is highlighted.

Any ideas on what the problem could be?

Thanks