Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1015
UltraDateTimeEditor - Limiting what value can be typed in the minutes area
posted

Hello everyone,

I'm using an UltraDateTimeEditor on a form that allows a user to enter a start and end time for an appointment. I'd like to limit what the user can type in the minutes section of the DateTimeEditor (currently using the {date} {time} mask) to increments of 15 minutes. For example, if the user tries to type "16" in the interval, it either wouldn't be allowed and would revert OR would round to either 15 or 30.

Is there currently a way to limit the user's entries in a specified field of the DateTimeEditor? I'd like to have them be able to type for the rest of the fields, just not the minutes, as it needs to be in increments of 15. Only ":00", ":15", ":30", and ":45" would be valid entries.

Any suggestions are greatly appreciated. Thanks!

Parents Reply Children
No Data