jQuery UI Widgets Forums Editors DateTimeInput Date time input validation

This topic contains 1 reply, has 2 voices, and was last updated by  Hristo 7 years, 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Date time input validation #92192


    I have two dateTimeInput components like appointmentStartTime and appointmentEndTime.
    My requirement is to restrict the appointmentEndTime is not less than start time and also not greater than 8 hrs in a same day. And by default user after entering the appointment start time, then appointment End time is auto calculate to 1 hr from the start time. How can i achieve this.

    Date time input validation #92220


    Hello selva,

    You could bind to valueChanged event (or change) and then check the value and compare with other jqxDateTimeInput.
    Also, you should set min and max for the relevant widget.

    Best Regards,
    Hristo Hristov

    jQWidgets team

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.