1 Reply Latest reply on Dec 8, 2016 12:58 AM by gauravahuja11

    Date range validations on Date Field

    Krisgum Level 1

      Hi  ,

        I'm trying to resolve a use case , where i need to apply date range validations and also provide options for date offsets ex : currentDate+20 ..

      The current OOTB date picker component do not provide such configurations , though native html 5 date has min and max date range attributes to support . 

        I'm currently considering an approach to extend current dateTime xfa widget  and in render method hook jqueryUI date picker . But with this approach iIm not sure how to actually show error message to end user on validation  . Are there any standard methods like render that can be overidden in the widget to show custom error messages ? 

      If not any other easy approached to handle this use case ?