[Custom Input Masks] Date text field Defaulting to current date.
Question
Forge component by Sara Gonçalves

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

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.