[CustomMasks] Date text field Defaulting to current date.

[CustomMasks] Date text field Defaulting to current date.

  
Forge Component
(19)
Published on 2017-09-14 by Jogait
19 votes
Published on 2017-09-14 by Jogait

I have a text field that accepts user to type in their DOB and the mask is set to MM-DD-YYYY. However when the page loads the field does not display MMDDYYYY but displays today's date. How can I force the mask to be displayed instead of today?

Hi David,

I tried the CustomMasks component and let me know if you're filling the default value (CurrDate()) of the variable used on that input. In this CustomMasks Example you can see the same thing as you described above. So here's my example without default value (CurrDate()) filled over the variable.

Regards,

João Alexandrino