How can I define an individual input mask in CF6 (Text Field)?

Define an individual input mask for a text field in ChronoForms 6.

Overview

The syntax for adding an input mask in the extra attributes field changed from CF5 to CF6.
In the field's extra attributes box, use the data-inputmask attribute with a colon instead of an equals sign, followed by the mask pattern.

Answered
ChronoForms v6
Pe Peter48 27 May, 2017
For entering a correctly formatted telephone number, a separate / individual input mask could be defined in CF5:

--> CF5 Extra Params: data-inputmask = 'mask': '099 999 99 99'

Where and how can I define an individual input mask in CF 6?

Many thanks for the support!
Max_admin Max_admin 28 May, 2017
Answer
2 Likes
Hi Peter,

In the extra attributes box in v6 you can use the same code but replace "=" with ":" :

data-inputmask:'mask': '099 999 99 99'


Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.