Limiting date input to a specific day of the week

  • Profile Image
    dwfw
    Asked on April 15, 2015 at 05:46 PM

    How can i restrict the input on a date field to only allow dates that fall on Saturday? is there a way to validate with javascript or some other method for restricting the values input into the forms?

  • Profile Image
    Charlie
    Answered on April 15, 2015 at 10:02 PM

    Hi,

    Unfortunately, it is not possible for the DateTime field to restrict specific day of the week. Although, this can be done using Javascript or jQuery to be more easier. However, to implement this, you'll need to use the form's full source code. You can then check the jQuery datetime picker documentation here: http://api.jqueryui.com/datepicker/.

    I hope this helps.

    Kind regards.