You are right, the <br> is the enemy.
Don’t know where the <br>
is from.
Here is my page code block without <br>
:
<p>Where are you from? (required) <br />
<span class="wpcf7-form-control-wrap countrytext-494"><input type="text" name="countrytext-494" value="" size="40" class="wpcf7-form-control wpcf7-text wpcf7-countrytext wpcf7-validates-as-required" aria-required="true" aria-invalid="false" placeholder="Country selector ..." /></span> </p>
My form definiton :
<p>Where are you from? (required) <br />
[countrytext* countrytext-494 placeholder "Country selector ..."] </p>
Using Country & Phone Field Contact Form 7 2.2.2 with WP 5.4.2.
Do you have a blank line in your CF7 form definition?
-
This reply was modified 4 years, 8 months ago by
kraeMit.
-
This reply was modified 4 years, 8 months ago by
kraeMit. Reason: correction
-
This reply was modified 4 years, 8 months ago by
kraeMit.