Will not SUBMIT if textbox empty

by "Shull, Conrad" <cshull(at)shscares.org>

 Date:  Fri, 17 Nov 2000 11:46:12 -0500
 To:  "'hwg-languages(at)hwg.org'" <hwg-languages(at)hwg.org>
  todo: View Thread, Original
Is there a way to keep a <form> from submitting if nothing has been entered
in an input textbox (actually, in this instance, a type="file" input box)?
The <form action= > is the same page.  I would like to have NO Request
Object (ASP) initiated if the input has nothing entered (a file chosen for
upload).  I'm dealing with multiple forms on a single page and mixing
BinaryRead method forms and Request.Form collections forms and have worked
out how to keep one from interfereing with the other, but I just know
someone is going to hit the SUBMIT button (BinaryRead) without selecting a
file and give an ugly error page. 

- Conrad Shull

HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.