• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 2.0 No longer an equivalent to "step" for Spin Boxes?


Well-known member
In XF1, I had the format parameters for a spinbox as follows:
This of course meant that you could have any number between 1 and 30 in your box, and if you used the +/- signs, it would step up/down the number by 5 each time.

However, with XF2, this operates differently. Now, the aforementioned parameters limits a valid entry to a very specific list of numbers:

1, 6, 11, 16, 21, 26.

Is there a way to get back to the original behavior?

Chris D

XenForo developer
Staff member
That's now consistent with the HTML5 spec, whereas it wasn't in XF1.

With a step of 5, the values must be in multiples of 5, starting from the minimum value.

If it was min=0, then valid values would be 0, 5, 10, etc.