Form Date Validation doesn't allow user to save data.

  • 8 January 2016
  • 0 replies
  • 3 views

Userlevel 5
Badge +16


 

Symptoms


Form Date Validation doesn't allow user to save data.
 

Diagnoses


Last two days various users have reported date validation is not allowing to submit data.

Some reason “instruction date > current date” validation is failing. This condition was working till 31st Dec 2015 and all of sudden from 4th of January user have started this error message prompt.

 

Resolution

the calendar type "Date and Time" and in the condition the client was comparing the calendar to the CURRENT DATE.
The current date for example will be 1/5/2016 00:00:00 and the calendar value will be 1/5/2016 16:05:55,
so the calendar will always be greater than the current date, Changed the condition to:
Calendar > Current Date AND Time




 

0 replies

Be the first to reply!

Reply