Results 1 to 3 of 3

Thread: Urgent: Radio buttons and text box

  1. #1
    Join Date
    Mar 2008
    Posts
    15
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Question Urgent: Radio buttons and text box

    Looking for Javascript for:
    1 - I've got: category 1 radio category2 radio category 3 radio(selecting this one would select all radio buttons under this category- column)
    item1a radio item1b radio item1c radio (any 1 can be selected in this row)
    item2 radio item2a radio item2c radio
    itemn radio itemnb radio itemnc radio

    The above one is to onSelect the top radio button would select all in the same column

    2 - The text box1 - apply this value to all
    textbox2 - n-tier
    textbox3 - Direct
    textboxn - Mail

    "the apply this value" is clicked, the all other textboxes would be filled in with the value of textbox1.

    I hope I've explained my situation clear

  2. #2
    Join Date
    Jul 2006
    Location
    just north of Boston, MA
    Posts
    1,806
    Thanks
    13
    Thanked 72 Times in 72 Posts

    Default

    all you are stating is that you have a bunch of radio buttons. you cannot select multiple radio buttons of the "same group", if you want to allow multiple selections from a "group" use checkboxes.

    other then that i do not really understand exactly what you are asking. can you post the url to the site with the problematic code so we can better help you troubleshoot

  3. #3
    Join Date
    Mar 2008
    Posts
    15
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    Thanks for the reply - I can't give the URL for its on intranet site.

    There is no option for using check boxes because
    I've got a table with 4 columns and 10 rows. Every row has 4 options out of which only can be selected.
    But the first row of the table also has 4 options and only one can be selected, but with this selection, all other radio buttons under this column are also selected.


    the other javascript I'm looking for is - I've got 10 rows with label and text field. The first row's label says apply the value of this text box to all other text boxes. Which means that when user clicks on that text link - apply all - the value of this text box is copied to all other text boxes.

    Does this make any sense?

    Again, thanks for your help and prompt response

Bookmarks

Posting Permissions

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