Friday, 15 March 2013

Mandatory field validation not working on text input field with placeholder in WordPress Contact Form 7 -



Mandatory field validation not working on text input field with placeholder in WordPress Contact Form 7 -

i adding text field in form has placeholder set required, on submit not validated empty field

bellow code text field

<td width="38%" class="f_name1" > [text* firstname placeholder class:text_field "first name" ] </td>

when removing placeholder alternative them validation working correctly placeholder alternative not validating...

am next wrong path add together placeholder? 1 suggestion help me lot..

you should alter order placeholder text right next placeholder.

[text* firstname class:text_field placeholder "first name"]

as mentioned in doc: http://contactform7.com/setting-placeholder-text/ , need contact form 7 3.4 , higher.

wordpress validation placeholder contact-form-7

No comments:

Post a Comment