Support

Home Forums Event Espresso Premium Error in field entry

Error in field entry

Posted: February 28, 2024 at 1:07 pm


MPWebmaster

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 #.
I have seen it twice and will work on getting a screen grab of it. It MAY be when there are 2 items in the cart but not sure.
Event was copied from last year and we didn’t have this issue then.
If you would like to try it, here is the link. I will respond with private msg with password
https://morrisplainsboro.org/pool-registration/


MPWebmaster

February 28, 2024 at 1:07 pm

This reply has been marked as private.


MPWebmaster

February 28, 2024 at 1:18 pm

This reply has been marked as private.


MPWebmaster

February 28, 2024 at 4:21 pm

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.


MPWebmaster

February 28, 2024 at 4:21 pm

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.


Tony

  • Support Staff

February 28, 2024 at 6:19 pm

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.


Rio

  • Support Staff

February 28, 2024 at 6:20 pm

How do you move your screen? is it through arrow up and down button? or using scrollbar?
If you’re using arrow up and down button that fields should be affected.

thanks


MPWebmaster

February 28, 2024 at 6:26 pm

It was during scrolling so that is why it seemed incorrect and unexpected behavior. I have now changed it to text


Tony

  • Support Staff

February 28, 2024 at 6:39 pm

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.

Event Espresso