Link to home
Create AccountLog in
Avatar of Pete Winter
Pete WinterFlag for United Kingdom of Great Britain and Northern Ireland

asked on

formvalidation.io - Requiring at least one field

I am using http://formvalidation.io/ for my form validations.

I want to use this script http://formvalidation.io/examples/requiring-at-least-one-field/

However I want the input to be a "number" field instead of a "text" field. When I change to a number field it doesn't work correctly. Any idea why and what do I need to change?
ASKER CERTIFIED SOLUTION
Avatar of Leonidas Dosas
Leonidas Dosas
Flag of Greece image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of Pete Winter

ASKER

Thanks for that, but I would like the number increment/decrement if possible. Is it not possible to get the script work using a number type instead?
Found a work around, but thanks for your help.