Forums

Custom value mask for text field causing javascript syntax error

kgriffin 24 May, 2024

Hello-

I assigned a custom value mask of (000)000-0000 for a text field and it caused a javascript syntax error that ended up breaking the calendar field in my form. I have removed the value mask and the error has gone away and my calendar field works again. I would really like the mask to work, but I guess I am missing something when creating a custom mask?

Max_admin 24 May, 2024

what was the mask value you have used ?

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
kgriffin 24 May, 2024

(000)000-0000 was the first one I tried, then I tried Phone:(999)999-9999. They both caused the error.

You need to login to be able to post a reply.