×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jun 2006
    Posts
    3

    Multiple Radio Button Groups not working.

    I have two radion button groups on the same xhtml page.

    i.e. all 3 radio buttons in the first group have the same name attribute, and all all the 3 radio buttons in the secound group have the same name, which is different to those in the first group.

    however, the browser (using 6230i and 5100 emulators) is treating this as one radio button list with 6 items.
    i.e. I can only select one of the six buttons at any time.

    what gives? the page works fine in firefox.

    -Darragh

  2. #2
    Registered User
    Join Date
    Mar 2003
    Posts
    8

    Re: Multiple Radio Button Groups not working.

    Any chance you can post your code?

  3. #3
    Registered User
    Join Date
    Mar 2003
    Posts
    4

    Re: Multiple Radio Button Groups not working.

    Hi,

    I run into the same issue. After a while I found the answer. The problem, it seems, is that many Nokia phones (especially S40 ones) have a nasty bug in the way they compare radio button names.

    The bug is that the last character of the input name is not taken into account when comparing the names. So if you have radio buttons named q1, q2 and q3, then they will all be in the same group.

    The solution then is to use names that differ more than by just the last character, i.e. 1q, 2q and 3q will work.

    I.e.

    this will not work on all Nokia browsers because of the bug:

    <p>
    Select age: <input type="text" name="q1" value="young" />Young
    <input type="text" name="q1" value="old" />Old
    </p>
    <p>
    Select sex: <input type="text" name="q2" value="young" />Male
    <input type="text" name="q2" value="old" />Female
    </p>

    But this will

    <p>
    Select age: <input type="text" name="1q" value="young" />Young
    <input type="text" name="1q" value="old" />Old
    </p>
    <p>
    Select sex: <input type="text" name="2q" value="young" />Male
    <input type="text" name="2q" value="old" />Female
    </p>
    Last edited by hvesalai; 2007-01-17 at 19:14.

Similar Threads

  1. Replies: 4
    Last Post: 2007-08-10, 06:52
  2. Radio button list - Nokia 6600
    By Bill_Murray in forum Symbian
    Replies: 6
    Last Post: 2006-03-02, 16:46
  3. How can I develop a radio button control
    By Inam Ahmed in forum Symbian User Interface
    Replies: 1
    Last Post: 2005-06-10, 07:20
  4. How to create Radio Button Settings Page?
    By huwell in forum Symbian
    Replies: 0
    Last Post: 2004-08-21, 15:02
  5. Multiple Button Input
    By nexis2600 in forum Symbian
    Replies: 3
    Last Post: 2004-02-13, 03:14

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×