IsEmpty returns false

Results 1 to 3 of 3

Thread: IsEmpty returns false

  1. #1
    Join Date
    Dec 1969

    Default IsEmpty returns false

    I am using a form on a page that posts back to itself. I check to see if its been submitted by usint the if not isempty(request.form("submit") at the top of the page. Then i try and check the input boxes using the same method. But when i leave them empty and submit the form they return false when checking is empty which would imply that they have been initialized. Please explain this to me if you could. Thank you<BR> kirk

  2. #2
    Join Date
    Dec 1969

    Default RE: IsEmpty returns false

    You want to check for the value of the controls being "".<BR><BR>something = "" &#060;&#062; isempty (something)<BR><BR>if (request.form ("Submit") = ""

  3. #3
    Kevin Guest

    Default RE: IsEmpty returns false

    Whenever I send a form to itself, I check if it has been submitted (POSTed) using:<BR><BR>If Request.ServerVariables("Content_Length") &#060;&#062; 0 then<BR> &#039Process Form<BR>Else<BR> &#039Show Form<BR>End if<BR><BR>HTH,<BR><BR>Kevin

Posting Permissions

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