We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Edit popup dynamic async date range validation

When creating or editing an event, I need to validate that the date + time falls within a valid range. The validation requires an API call, so it must be done async.
Everything I see in the documentation regarding the form validation appears to be static.

Ideally I'd like to present the user with a warning if the start and end time they select falls outside of a valid range, but still allow them to create or edit the event.

Any ideas on how to achieve this would be appreciated.



2 Replies

VD Vinitha Devi Murugan Syncfusion Team November 21, 2019 11:51 AM UTC

Hi subhajit, 
 
Syncfusion Greetings. 
 
We prepared the example below to validate the start and end time based on some approved range and then showed the validation message on the editor window. Please see the sample below. 
 
 
 
 
 
Regards, 
M.Vinitha devi 



VD Vinitha Devi Murugan Syncfusion Team November 22, 2019 06:40 AM UTC

Hi subhajit,  
  
Syncfusion Greetings.  
  
We prepared the example below to validate the start and end time based on some approved range and then showed the validation message on the editor window. Please see the sample below.  
  
  
  
  
  
Regards,  
M.Vinitha devi  


Loader.
Live Chat Icon For mobile
Up arrow icon