I've been working on trying to get a date field to populate the current date if the user enters ' / ' into the field. So far I have been able to replace ' / ' with a value but I am not able to populate the current date. I have tried several suggests that on who to populate current date but have not been able to get my code functioning.
I have place the below code on the exit even of the date field which runs correctly but when I try to add in the date it breaks. Any one have a suggestion?
if (this.rawValue == "/")
{
this.rawValue = 1
}
Thanks