About 173,000 results
Open links in new tab
  1. Javascript - validation, numbers only - Stack Overflow

    Apr 23, 2013 · I'm trying to get my login form to only validate if only numbers were inputted. I can it to work if the input is only digits, but when i type any characters after a number, it will still …

  2. JavaScript - validate numeric only and within range

    Aug 21, 2012 · I have an asp form which has a number of fields. On submit I want to check, using javascript that a tickbox has been selected and that an 'amount' field in within a given range …

  3. How to validate input using javascript - Stack Overflow

    Jan 3, 2013 · I use jsFormValidator to validate my form and it works like a charm. You don't need to add heavy syntax to your HTML tags, things like:

  4. Validating Phone Numbers Using Javascript - Stack Overflow

    Jun 1, 2017 · I'm working on a web form with several fields and a submit button. When the button is clicked, I have to verify that the required text boxes have been filled in and that the phone …

  5. Javascript phone number validation - Stack Overflow

    I need to validate a phone number in javascript. The requirements are: they should be 10 digits, no comma, no dashes, just the numbers, and not the 1+ in front this is what I wrote so far fu...

  6. javascript - validation for input type number with minimum and …

    I want to validate if the input type number crosses the range. <input type="number" min="-10" max="10" required="true" message="you can give score -10 to +10 only"> I tried required = …

  7. validation - Validate 11 Digits in JavaScript - Stack Overflow

    Feb 8, 2012 · Might be a simple question, but I can't find an answer that fits this bit of code :( I need to validate a phone number to have EXACTLY 11 digits (no letters) function …

  8. javascript - How can I check if a string is a valid number? - Stack ...

    To check if a variable (including a string) is a number, check if it is not a number: This works regardless of whether the variable content is a string or number.

  9. Form validation numeric range (minimum/maximum) in JavaScript

    Jul 31, 2019 · Do you mean that you want a number that is between 3 and 48 digits, or that the value of the number must be between 3 and 48? For the latter you don't need a regex: …

  10. How to validate greater than, less than in Javascript?

    Oct 18, 2012 · Back again with another absolute beginner question. I'm validating a form, and I want the text input to be limited to more than 2 and less than 15 characters. I have tried: …

Refresh