Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Sep 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    HTML form, javascript validation on textfields, checkboxes, radiobuttons

    Hi all

    Can someone please help me with a javascript that can validate textfields, checkboxes, radiobuttons and dropdownlist?

    I found a working javascript, but it only validates textfields.
    http://www.insidedhtml.com/tips/elements/ts13/page1.asp

    Can someone please help me modify it?

    Any help is much appreciated!


    - Mikey

  • #2
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    26,561
    Thanks
    80
    Thanked 4,494 Times in 4,458 Posts
    Tons and tons and tons of examples out there. Including dozens if not hundreds in this very forum. Hone your search skills and you can find them.
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.

  • #3
    Regular Coder
    Join Date
    Apr 2005
    Location
    Texas
    Posts
    448
    Thanks
    24
    Thanked 63 Times in 63 Posts
    To elaborate on OP's post: presumably you don't want someone to do all the work for you, after all you say that you would like help. Maybe you should start with a thorough analysis of the code you already have to identify what you don't understand, and come back with an insightful, very specific, question. I know I'd like to help


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •