CF8 - Text field mask integer

Create a text field that only accepts numbers in ChronoForms 8.

Overview

In CF8, the number input type displays unwanted up/down arrows, unlike the integer field mask available in CF7.
Use the field mask feature added in CF8 version 8.0.26 to restrict the text field to integer input.

Answered
ChronoForms v8
rb rbock 07 May, 2024

How can I define a text field in CF8 for numbers only? Not as type number, because then I have these ugly up and down characters. In CF7 I can define the field as an integer and that works well.

Max_admin Max_admin 07 May, 2024

Regex validation as number, that's how it's in v7

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Max_admin Max_admin 07 May, 2024
Answer
1 Likes

ok, you need the field mask, i will try to add this feature to v8 soon

This has been added to v8.0.26

How did you insert an image in your post ?

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

I inserted the image with copy & paste (Strg+v).

rb rbock 07 May, 2024

CF8 - Text field mask integer image 2

I don't even know which source I should specify here

Max_admin Max_admin 07 May, 2024
1 Likes

thank you for clarifying

source is the link to the image, that's if the image is uploaded somewhere online

but pasting is easier of course

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.