The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

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

  1. tristrella
    Posted 2 years 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>

    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


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form 7
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic