Does anyone know a clever way to limit characters when input type is set to number (not text)? You can limit values but not characters.
For example I want to limit an input box 1000 or 4 numbers. Currently you can type numbers to infinity in the input element. It would also be really really nice if you had a currency input type wix
Hi,
You can click on the Settings button and set a minimum and / or maximum values for the user input. Note that you should set the value type to number.
Hi, that only sets the max value it doesn’t let you limit the characters that can be typed into the element. If the developers could add character limit options to input elements that are set to number type that would be very cool. Currently you can only limit characters if that element is set to text. I only want 4 numbers (1000 for example) to be allowed to be entered into the input field.
If I set the element type to text I can limit it to 4 characters but then you can type in letters and that isn’t cool. 1a90 would be allowed to be entered in and you would only get a message that the a isn’t allowed after you try to submit the number or tab out of the element. It also then allows for commas so 1,00 would be considered 4 characters and 1,000 would be allowed to be entered but would give an error.
Adding character input (not value) limits to elements that are set to type number is what I need , or a workaround:)
Hey Tal! What you said is exaclty what I’m trying to do in a form, but I can’t find such options. Can you give us a screenshot or further instructions, please?