-
Leonardo PortoAsked on January 21, 2025 at 9:28 PM
How can I allow thew user to put a space at any position they like?
The @ or * masks only allow letters/numbers, but not spaces. You have to put a space on a particular position.
-
Ibrar JotForm SupportReplied on January 22, 2025 at 9:25 AM
Hi Leonardo,
Thanks for reaching out to Jotform Support. If you set the input masking, the user will not be able to add space in the answer. You'll have to add the space while configuring Input Masking. Let me show you how:
- In Form Builder, select the Short Text Field and click on the Gear icon.
- Under Options tab, toggle on Input Mask.
- Add your Symbols and also add Space where it is required.
Result:
We also have a guide about Getting Started With the Basics of Input Masking that you can check out.
Give it a try and reach out again if you have any other questions.
-
LeonardoReplied on January 22, 2025 at 5:31 PM
Hi there
That does not solve the case.
I need to allow the user to put the space wherever they want.
For example, I have Department field looking like this:
55890 - Operations South East
But the space in the department name could come at any position. So it could be instead:
55220 - Plant Ops North
My mask would need to cover the space being able to be anywhere after the dash (-).
If I put space in the mask it will limit to one single position where the space can be.
Please suggest an alternative solution to this.
Thanks Leonardo
-
Jeric JotForm SupportReplied on January 23, 2025 at 7:49 AM
Hi Leonardo,
The Input Mask features strictly follows your set format. It doesn't support dynamic number of characters. While the feature you’re looking for isn’t currently available at Jotform right now, we've gone ahead and escalated your request to our Developers. Exactly when or if it's developed depends on their workload, how viable it is, and how many other users also request it. If there are any updates, we’ll circle back to this thread and let you know.Reach out again if you need any other help.
-
LeonardoReplied on January 23, 2025 at 6:10 PM
Hi Jeric
It actually does support a "dynamic number of characters" in a way. You can just create many characters as optional using [*****]. That is not the problem.
The big problem is that the masks * (alphanumeric) and @ (alphabetic) are supposed to accept all text characters and it's not. Not fully. Space is considered a text character in every single language, and none of these masks are understanding space as a character.
The short and long text fields without masking do not have this problem by themselves. They both understand that space is alphabetic character.
The result is that the masking is only allowing you to write texts like this: "Jericisaniceguy" when it should allow you to write "Jeric is a nice guy".
You see my point there? Big issue. This is the wrong design for a character masking feature. It should be fixed right away. It's not an "improvement" or feature request.
Thanks for your time and I hope this is making sense.
Thank you, Leonardo.