SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: validation help

  1. #1
    SitePoint Member
    Join Date
    Jun 2008
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    validation help

    Hello all,
    I am new to javascript and have a problem with some validation code i have written. i have a script to validate many different items on a web form. what i have is a form where i am asking the user to sign up for a news letter by selecting a check box. i have code written that makes the user select yes or no if the want to have a news letter sent to them. if they say yes then i need tohave certain fields submitted and validated, if no, then there are still some fields that need to be validated and some that do not need to be validated. here is the script i am using
    Last edited by intro66vert; Jun 5, 2008 at 12:46. Reason: no help

  2. #2
    SitePoint Member
    Join Date
    Jun 2008
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    wow, what an informative site. thanks for all the help

  3. #3
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,729
    Mentioned
    104 Post(s)
    Tagged
    4 Thread(s)
    Pardon? Where is the script that you're using?
    The HTML form code will be valuable too.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  4. #4
    SitePoint Member
    Join Date
    Jun 2008
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    it is OK, I got the script to work like i wanted, thank you for a response. after i got my script to work, i removed my code. i was a little upset when i had seen thirty people looked at the code i had posted, and not one single person responded.


Bookmarks

Posting Permissions

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