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>
closed as off-topic by Pieter Goosen, toscho♦ Jul 28 at 7:38
This question appears to be off-topic. The users who voted to close gave this specific reason:
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:
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!
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...