SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Wizard DoubleDee's Avatar
    Join Date
    Aug 2010
    Location
    Arizona
    Posts
    3,761
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Rows of Radio Buttons on Form

    Is it possible to have a series of Accept/Decline Radio Buttons that are treated as "pairs" like this...

    Code:
    PROCESS FRIEND-REQUESTS...
    
    User1
    <user1's photo>		_ Accept  _ Decline
    
    User2
    <user2's photo>		_ Accept  _ Decline
    
    User3
    <user3's photo>		_ Accept  _ Decline
    
    User4
    <user4's photo>		_ Accept  _ Decline
    
    User5
    <user5's photo>		_ Accept  _ Decline
    
    
    	----------------------	------------
    	|  PROCESS REQUESTS  |	|  CANCEL  |
    	----------------------	------------

    I want it so that if you choose Accept or Decline for User1, that when I submit the Form my back-end knows that the answer pertains to User1 and not another user, if you follow me.

    BTW, is there a better way to approach this?

    For example, maybe something like a Check-Box would work better?

    Or maybe something else?

    Thanks,


    Debbie

  2. #2
    Life is not a malfunction gold trophysilver trophybronze trophy
    TechnoBear's Avatar
    Join Date
    Jun 2011
    Location
    Argyll, Scotland
    Posts
    6,088
    Mentioned
    256 Post(s)
    Tagged
    5 Thread(s)
    As you've already received a reply to a very similar question here, I'm closing this thread to keep the discussion all in one place.

    Please don't post the same question in two forums.
    Take plenty of exercise walk round and round the garden
    or
    sign up now for the Isle of Jura 10K or Half Marathon!


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
  •