Restrict number of chars for an input field and only allow numbers

rkocharians
9 Posts
rkocharians posted this 07 October 2021
Ask a Question

Hi,

I have added an <input> entry field to a form.
Is there a way to restrict users to only enter numbers ?
can I restrict the number of chars entered in the input field ?

cheers

Hi, I have added an &lt;input&gt; entry field to a form. Is there a way to restrict users to only enter numbers ? can I restrict the number of chars entered in the input field ? cheers
Vote to pay developers attention to this features or issue.
2 Replies
Order By: Standard | Newest
Support Team
Support Team posted this 07 October 2021

Hi Rafik,

There is no possibility to set restrictions for the input fields.

...................................................
Sincerely,
Hella
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi Rafik, There is no possibility to set restrictions for the input fields. ................................................... Sincerely, Hella Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
Moorcam
40 Posts
Moorcam posted this 07 October 2021

You can only do this manually by editing the code. It cannot be done via Nicepage.

To only allow number: `<input type = "number">`
Restrict Chars:`<input type="number"  maxlength = "245">` or whatever you want.
You can only do this manually by editing the code. It cannot be done via Nicepage. To only allow number: `<input type = "number">` Restrict Chars:`<input type="number" maxlength = "245">` or whatever you want.

Last edited 07 October 2021 by Moorcam

You must log in or register to leave comments