WordPress.org

Ready to get started?Download WordPress

Forums

Array or If/Else Help (5 posts)

  1. mlogos
    Member
    Posted 4 years ago #

    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.

    Thanks...Cathy

  2. batrachoid
    Member
    Posted 4 years ago #

    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!

  3. mlogos
    Member
    Posted 4 years ago #

    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.

    Thanks...Cathy

  4. batrachoid
    Member
    Posted 4 years ago #

  5. mlogos
    Member
    Posted 4 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.