Here is my Interface, and i wanted the user to input only the date of his birthHere is my code. I want to disable the future date and the current date for my "Date of Birth" field
<div class="form-group">
<label class="control-label"
for="personal_information.date_of_birth">Date of Birth</label>
<input class="form-control"
rv-value="data.personal_information.date_of_birth"
name="dateOfBirth" id="dateOfBirth" data-validate="required"
data-mask="yyyy-mm-dd" placeholder="Pre-formatted birth date" />
</div>