Created
April 27, 2015 14:11
-
-
Save Doopin/215cd04df2d48a425079 to your computer and use it in GitHub Desktop.
Validation not working for date format YYYY-MM
This file contains 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
<div class="form-group"> | |
<label for="startDate" class="col-xs-12 control-label">Start date</label> | |
<div class="col-xs-12"> | |
<input id="startDate" required name="experience[startDate]" data-fv-notempty-message="date is required" | |
type="date" placeholder="YYYY-MM" class="form-control revalidate start-date input-sm single-date-picker-month" | |
data-fv-date="true" data-fv-date-separator="-" data-fv-date-format="YYYY-MM" data-fv-date-message="Invalid date"/> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment