I need to put a character limit on an input that has an integer format, that is, it does not allow me to write more than a certain amount of characters.
it’s possible?
I need to put a character limit on an input that has an integer format, that is, it does not allow me to write more than a certain amount of characters.
it’s possible?
I think you can use min and max value? If you set max 99, the max characters will be 2
Do you mean input’s “set a range” property?
It will highlight input (and make it isn't valid
so we can use this in our app logic further), but will not prevent user from typing more than 2 digits:
Another option is to use “text” type of content for the input:
But you’ll need to apply :converted to number
operator while saving input’s value to a field of type “number” in your DB.
Good point. The problem with text field however is that user can enter something else like .1 that can be converted to number. However, Bubble offer a “Text (number only)”. This is what need to be selected here if you choose this option