Posted: February 28, 2024 at 1:07 pm
I have a registration set up – there are 3 questions about quantity needed and sometimes when I fill in the first one, the second one (which should not e connected) will populate, and with a negative #. |
|
This reply has been marked as private. | |
This reply has been marked as private. | |
This has to do with the fields being number and there is a scroll arrow – but seem to be scrolling the numbers when I’m just moving down the screen. We had a similar issue last year with payment amounts. I am trying to change fields to text as it’s time sensitive. |
|
This has to do with the fields being number and there is a scroll arrow – but seem to be scrolling the numbers when I’m just moving down the screen. We had a similar issue last year with payment amounts. I am trying to change fields to text as it’s time sensitive. |
|
Hi there, You are correct above in that this is due to using a ‘number’ field, number fields set up a ‘step’ value within the browser which is the value the field uses to ‘step’ when pressing up/down. This is expected behaviour within a browser when using a number field: https://www.w3schools.com/tags/att_input_type_number.asp The only way to prevent that is to switch to using a text field for those value and having the user input the value manually. |
|
How do you move your screen? is it through arrow up and down button? or using scrollbar? thanks |
|
It was during scrolling so that is why it seemed incorrect and unexpected behavior. I have now changed it to text |
|
Oh, apologies, it wasn’t clear that it was happening on scroll. That’s not something I can reproduce but it looks like browser behaviour: https://stackoverflow.com/questions/9712295/disable-scrolling-on-input-type-number Unfortunately, there’s no ‘good’ solution to this when using a number field. I’m not a fan of that scroll stepping, nor do I like the arrow key stepping. It just seems weird to me but that’s how the browser treats those fields :S Swapping out for a text field would be my recommendation, which you’ve already done here, I think thats the best way moving forward. |
|
The support post ‘Error in field entry’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.