I need to adapt a checkbox of the wordpress Contact Form 7 plugin with pipes, which I'm doing:
My shortcode in the form:
[checkbox checkbox-579 "10 cm" "15 cm" "20 cm" "30 cm"]
And I have result:
...
<input type="checkbox" name="checkbox-579[]" value="10 cm">
<span class="wpcf7-list-item-label">10 cm</span>
...
I want you to have a value in the checkbox and one to span
, I tried something like:
[checkbox checkbox-579 "10 cm|3000" "15 cm|3017" "20 cm|2362" "30 cm|2379"]
But the result has not changed. I need it to look like this:
...
<input type="checkbox" name="checkbox-579[]" value="3000">
<span class="wpcf7-list-item-label">10 cm</span>
...
Is there any way to do this?