SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Dec 2000
    Posts
    67
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Multiple Form Validation

    hi
    I am currently trying to find a way for 2 fields to be validated when the submit button is pressed.
    Basiclly I have 2 fields (one is a file upload field the other is a textarea field) and one of these 2 fields must have a value before the form is submitted and the other can be blank but doesn't have to be.
    I can make it validate one field easy enough but can't work out how to do two at once.
    Any one got any suggestions??
    Thanks

  2. #2
    SitePoint Wizard silver trophy
    Join Date
    May 2003
    Posts
    1,843
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ...the other can be blank but doesn't have to be.
    What was it you wanted to check?

    You'll need to be much more specific.
    ::: certified wild guess :::


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
  •