jQuery UI Widgets Forums Editors DateTimeInput listen to auto-validation

This topic contains 2 replies, has 2 voices, and was last updated by  JackThor 7 years, 9 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • listen to auto-validation #86991

    JackThor
    Participant

    Hey,

    So according to this example, http://jsfiddle.net/jqwidgets/8cxPC/ by setting this when a user tries to type an invalid number it prevents the user from finishing the date. I was wondering if it is possible to listen to this auto-validation event?The reason I want to listen to this is that I want to trigger the validate for that cell similar to what happens when http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxgrid/cellediting.htm?arctic, but when the auto-validation happens.

    • This topic was modified 7 years, 9 months ago by  JackThor.
    • This topic was modified 7 years, 9 months ago by  JackThor.
    listen to auto-validation #86996

    Ivo Zhulev
    Participant

    Hi JackThor,

    I am not sure i understood you right , but maybe try with one of jqxdatetimeinput events: valueChanged, textchanged, change.

    Best Regards,
    Ivo

    jQWidgets Team
    http://www.jqwidgets.com/

    • This reply was modified 7 years, 9 months ago by  Ivo Zhulev.
    listen to auto-validation #87023

    JackThor
    Participant

    @Ivo Zhulev: I am currently using the event textchanged, but that gets triggered every time. I only want to trigger my function in the case where the user enter a invalid key. For example the user will type in 06/8, if enableAbsoluteSelectionis turned on, the cursor will stop at 8 and not let a user continue until a valid key is entered. So if a user continues to type any digit 4-9 it will stay there. I want to listen to that event when the user is not allowed to continue because of the invalid key entry.

    • This reply was modified 7 years, 9 months ago by  JackThor.
    listen to auto-validation #87069

    Ivo Zhulev
    Participant

    Hi JackThor,

    Unfortunately there is not such an event available.

    Best Regards,
    Ivo

    jQWidgets Team
    http://www.jqwidgets.com/

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

You must be logged in to reply to this topic.