WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
Contact Form 7 - Select field values on Message body (1 post)

  1. tristrella
    Member
    Posted 5 months ago #

    Hi there,

    I am currently using code similar to the post here http://wordpress.org/support/topic/plugin-contact-form-7-contact-form-7-dropdown?replies=9

    I wanted to have a different value and text for the select field. Basically, my setup is that the value in numbers is passed to paypal checkout upon submission which is actually used as the price.

    This works great, however I am not able to properly display the text on the message body area [packages] or [_raw_packages], both displays the value in numbers. I wanted to display the actual text.

    This is my code :

    <select name="packages" id="packages" class="checkout-dropdown"><option value="13">500 Facebook Page Likes for $13</option>
    <option value="17">1000 Facebook Page Likes for $17</option>
    <option value="79">5000 Facebook Page Likes for $79</option>
    <option value="149">10000 Facebook Page Likes for $149</option>
    <option value="297">25000 Facebook Page Likes for $297</option>
    </select>

    Takayuki said on the other post to just paste the code in the form and I did the same way. But I am not able to properly retrieve the text, it's showing value instead of text whenever I paste the tag shortcode on the message body area.

    I would gladly appreciate any reply on this.

    - Mark

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

Reply

You must log in to post.

About this Plugin

About this Topic