Problems when using an input mask in V8

Peter48 09 Apr, 2025

Problems when using an input mask

In Chronoforms8, the mask is saved in the data table when saving data, if the input field has not been filled in.

Example V8:

Input mask: ___.___.__.__

Data saved: ___.___.__.__

In Chronoforms7, the mask was not saved, which I believe is correct.

Example V7:

Input mask: ___.___.__.__

Data saved:             (empty - no saving)

In my opinion, the input mask should not be saved in the data table.

Max_admin 09 Apr, 2025
Answer

Correct, this is a bug, but you can solve this for now by setting "lazy=true" in the mask settings, and showing the mask pattern in the field Placeholder:

Problems when using an input mask in V8 image 1

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Peter48 10 Apr, 2025
1 Likes

Hello Max. 

The workaround with "lazy=true" works.

Since the mask isn't displayed then, the "Placeholder Text" function can be used to indicate the exact spelling.

Thank you!

Max_admin 10 Apr, 2025

great, thanks for the confirmation!

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
You need to login to be able to post a reply.

VPS & Email Hosting 20% discount
hostinger