I've got a page with a couple of calendars with a validator to ensure entering a future date. When the page loads, the date gets pre-populated from the database--the validator runs when the page loads and when the page is submitted. Here's the issue: I only want the validator to run on newly entered or changed dates, not on dates that were pulled from the DB (it's ok for the date to be old if it was already in the DB).
How can I get the validator to fire for only newly entered or changed dates?
cellWidth="24px" cellHeight="22px" style="width:100px" datePattern="MM/dd/yyyy HH:mm a"
validatorMessage="Should be a future date."
inputSize="19" enableManualInput = "false">
try store the data using hidden field value.Onchange of the date field please set the hidden value in the back end.Also you can chek the hiddden field value and date field value is different then do the validation.