Field Type Number in Form Builder - Forum | JoomShaper
Solved SP Page Builder

Field Type Number in Form Builder

Asked by Ralph-Uwe Scherer 1 year ago Last activity 1 year ago

The field type number is not working on mobile. It works on Laptop and Desktop browsers but when I view in Mobile device I am able to input words into the number field type.

The link below will show you what I mean. It works on desktop where it won't allow the input of words, only numbers but in mobile I am able to input words.

https://idstrash.com/ (See number of dumpsters field)

Can you confirm this bug on your end?

Accepted answer

Marked as the solution
Ofi Khan Staff

Hello Ralph-Uwe Scherer

Thanks for the brilliant find. Number input field has this issue by default. On the phone browser, it does not open only numeric keyboard. So, the user gets chance to put text. I have found an alternative solution. We can use number input type with a pattern.

<input type="number" pattern="\d*" />

In this way, the mobile keyboard opens the numeric only keyboard much like a phone dialer. There is another issue as well. If we change it, then floating numbers will not be available on mobile. So, we have to check the every possible issues from this change. I will leave it to the developer's table. The developer team will decide what to do with it. Hopefully, they will come up with a better solution and fix this. Please allow us some time.

Best regards

Log in to reply.