Support » How-To and Troubleshooting » Array or If/Else Help

Array or If/Else Help

  • Don’t know what to call this problem – here is what I want to do.

    I want to have some items listed with radio buttons next to them. The user clicks on the radio button he chooses and at the bottom of the screen is a button to click to take him to the proper page for the item he selected. Need to store a variable for the chosen button, pass it to the ‘click here’ button and on the the proper page.

    I submitted this a few hours ago but someone removed it. If I’m in the wrong forum, please tell me – don’t just remove it. I really do want an answer to this question.


Viewing 4 replies - 1 through 4 (of 4 total)
  • Wouldn’t it be easier to just have a list of buttons named for your pages? In other words, a button named “Page One”, another named “Page Two,” etc.

    Also, it’s possible that wordpress.org tried to read your previous topic title as a command!

    Thanks, betrachoid – didn’t know wp.org would think I was commanding anything!! 🙂

    Do you have a hint where I could look to figure out how to name buttons and then use them – I thought of and like your idea but didn’t know how to do that either.


    I know how to do that. I want to store/pass a variable from 4 or 5 radio buttons to the link button and have it go to the specific page I create for the radio buttons.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Array or If/Else Help’ is closed to new replies.