Forum Academy Marketplace Showcase Pricing Features

How to restrict users from inputting zeros?

Hey guys, I’m trying to restrict users from inputting zeros or negative numbers, I’ve changed the input format to integer, but it still didn’t work, I’m using a template though, could that be the problem?

I assume you mean restrict them from entering the number zero? (rather than entering the character 0 at all)?..

If so, then just set the minimum value to 1

1 Like