Does anyone know how I can set a different value in the select options in the Contact Form 7 plugin? Here is an example of the HTML I’d like it to generate:
<select> <option value="1">My car</option> <option value="2">Your car</option> </select>
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!