Last active
December 2, 2023 18:54
-
-
Save softiconic/8fd6d81f72b6f64657c5f30d53892def to your computer and use it in GitHub Desktop.
Set a placeholder text for the date field in Contact Form 7.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<input type="text" onfocus="(this.type='date')" onblur="(this.type='text')" name="birth" value="" class="form-control wpcf7-form-control wpcf7-date wpcf7-validates-as-required wpcf7-validates-as-date" aria-required="true" aria-invalid="false" placeholder="Date of birth"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment