Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

DSoes anyone know how I can set a different valute in the select-options in contact form 7 plugin? Here is an HTML example of what I'm trying to do

<selct>
<option value="1">My car</option>
<option value="2">Your car</option>
</select>
share|improve this question

put on hold as off-topic by Pieter Goosen, toscho 9 hours ago

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

    
If no native solution exists, you can solve this with jQuery val(), show() and hide(). –  brasofilo Jun 21 '12 at 13:15

2 Answers 2

up vote 3 down vote accepted

It looks like this is supported by Contact Form 7 natively, it's just not very obvious on how to make it happen.

Here's a documentation page explaining the functionality: http://contactform7.com/selectable-recipient-with-pipes/

Basically all you have to do is put the values like so:

Visible Value|actual-form-value

What comes before the pipe "|" character will be shown in the form, and what comes after will be the actual value filled in for the form.

Hope that helps!

share|improve this answer

I solved this by publishing the standard contct form 7 form first, then I copied the source code created from all the short-codes from contact form 7. Then insteaed of using the shortcode as the select tag I used a real select-tag with in it. This way I could use the contact form 7 engine and at the same time set my own value-text in the option tags...

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.