WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
[resolved] Can I insert a link into radio button text? (5 posts)

  1. jhartwigwade
    Member
    Posted 2 years ago #

    In this code:

    <p><div>
    [radio rsvp default:1 "Yes, I will attend on April 19." "I am unable to attend but I would like to donate."]</p>
    </div><p></p>

    I would like "donate" to link to this: https://npo1.networkforgood.org/Donate/Donate.aspx?npoSubscriptionId=3718&code=general

    But when I insert the link code, it doesn't work? Can you not do links in the radio text?

    http://wordpress.org/extend/plugins/contact-form-7/

  2. I don't think you can add links in the shortcode (between square brackers), maybe try this instead:

    <p>[radio rsvp default:1 "Yes, I will attend on April 19." "I am unable to attend but I would like to donate."]<a href="https://npo1.networkforgood.org/Donate/Donate.aspx?npoSubscriptionId=3718&code=general">Donate here</a></p>

    Also, watch out as you have some overlapping <div> tags.

  3. jhartwigwade
    Member
    Posted 2 years ago #

    Thank you so much! That works.

  4. Excellent!

  5. miguelfromphil
    Member
    Posted 1 year ago #

    Hi zoonini,

    How to redirect into another website using radio button? Depend on what radio button is selected? it's possible? using CF7?

    Thanks in advance

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic