#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2004
    Posts
    260
    Rep Power
    0

    Accept decimal/numeric and null values from array of text fields


    Hi, I am looking a jQuery code that able to validate either decimal/numeric values and also null values from array of text fields. Basically, I managed to validate values from array of text fields but unable to validate the value itself whether it is numeric or null or alphabet. my text field name is testdata[] and it supposes to accept numeric/decimal or null values.
  2. #2
  3. No Profile Picture
    Lost in code
    Devshed Supreme Being (6500+ posts)

    Join Date
    Dec 2004
    Posts
    8,301
    Rep Power
    7170
    There's no way for a user to enter a literal null value into a text field; by null value do you mean an empty string?
    PHP FAQ

    Originally Posted by Spad
    Ah USB, the only rectangular connector where you have to make 3 attempts before you get it the right way around

IMN logo majestic logo threadwatch logo seochat tools logo