You need an if...else to check to see if the field is empty, if empty input date, if not empty, retain current value.Here's a javascript I use to generate a unique identifier based on the date and time the form is opened:if (this.rawValue == null) { var d = new Date(); //divide result by 1000 to get...