Forums

Problems when using an input mask in V8

Peter48 20d ago

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 20d ago
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:

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Peter48 19d ago
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 19d ago

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.