Selectable recipient with pipes doesn’t work
-
Hello,
I have noticed an issue when a select uses pipes.
[select your-recipient "CEO|ceo@example.com" "Sales|sales@example.com" "Support|support@example.com"]
Example from https://contactform7.com/selectable-recipient-with-pipes/
This should produce the following HTML code
<select class="wpcf7-form-control wpcf7-select" aria-invalid="false" name="your-recipient"> <option value="ceo@example.com">CEO</option> <option value="sales@example.com">Sales</option> <option value="support@example.com">Support</option> </select>
But instead, it produces this code
<select class="wpcf7-form-control wpcf7-select" aria-invalid="false" name="your-recipient"> <option value="CEO">CEO</option> <option value="Sales">Sales</option> <option value="Support">Support</option> </select>
The expected option values are replaced by the label.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Selectable recipient with pipes doesn’t work’ is closed to new replies.