[Plugin: Contact Form 7] CF7 inserting P where there isn't one
-
I am trying to have an address entered with the city/state/zip all on one line.
However, a <p> keeps getting executed after the state field pushing the zip field into a new <p>.I have tried cleaning the code, reentering the code, copying the code from other sites where I have done this successfully. Nothing works.
If someone could help me figure out why :
Company Address (required):
[text* companystreet 70/ watermark “Street Address”][text* companycity 20/ watermark “City”],[select* companystate id:companystate “MA” “RI” “ME” “NH” “VT” “NY”],[text companyzip 8/12 id:companyzip watermark "Zip Code"]outputs the following :
<input type="text" name="companyname" value="" class="wpcf7-form-control wpcf7-text wpcf7-validates-as-required" size="70" /></span></p> <p>Company Address (required):<br /> <span class="wpcf7-form-control-wrap companystreet"><br /> <input type="text" name="companystreet" value="" class="wpcf7-form-control wpcf7-text wpcf7-validates-as-required wpcf7-use-title-as-watermark" size="70" title="Street Address" /></span><br /><span class="wpcf7-form-control-wrap companycity"><br /> <input type="text" name="companycity" value="" class="wpcf7-form-control wpcf7-text wpcf7-validates-as-required wpcf7-use-title-as-watermark" size="20" title="City" /></span>,<span class="wpcf7-form-control-wrap companystate"><br /> <select name="companystate" id="companystate" class="wpcf7-form-control wpcf7-select wpcf7-validates-as-required"> <option value="MA">MA</option> <option value="RI">RI</option> <option value="ME">ME</option> <option value="NH">NH</option> <option value="VT">VT</option> <option value="NY">NY</option> </select> <p></span>,<span class="wpcf7-form-control-wrap companyzip"><br /> <input type="text" name="companyzip" value="" id="companyzip" class="wpcf7-form-control wpcf7-text wpcf7-use-title-as-watermark" size="8" maxlength="12" title="Zip Code" /></span></p>
I would be very grateful.
I can’t have that zip hanging out all by itself.
Thank you.
- The topic ‘[Plugin: Contact Form 7] CF7 inserting P where there isn't one’ is closed to new replies.