Error Handling

Results 1 to 2 of 2

Thread: Error Handling

  1. #1
    Join Date
    Dec 1969

    Default Error Handling

    I have created a questionnaire. I have used Radio Buttons for the response to these questions. The problem that I am having is that when the user does not answer all the questions, an error occurs. What I need is the guidance to create an error handler so that if the user does not respond to all the questions, once submit has been selected, a message that says " "Sorry, but your entry could not be accepted. You didn&#039t provide<BR>all the information." then "Please use the Back button of your browser to go back and supply the missing information."<BR><BR>But if all the questions have been answered then the entry will be accepted. <BR><BR>Can anyone help?<BR><BR>Thanks<BR>

  2. #2
    Mark B Guest

    Default RE: Error Handling

    Try something like<BR>IF request.form("button1") = "" AND request.form("button2") = "" AND request.form("button3") = "" AND "you get the idea" THEN<BR><BR>your error message here<BR><BR>ELSE<BR><BR>do your asp stuff here<BR><BR>END IF

Posting Permissions

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