specifying an error file in the CASEROUTE command

Lorie Srivastava <[email protected]> Thu, 25 Aug 2005 20:06:30 +0000 (UTC)
Newsgroups gmane.comp.apache.mod-survey.general
Message-ID <[email protected]>
Hi:

I have specified an error file for a CASEROUTE command to run in case of a
mistaken entry.

Yet, if I enter an invalid number, a default error message comes up, control
does not go to the file that I have specified and written.

My code is:

	<CASEROUTE SWITCH="CTask" DEFAULT="error.survey">
		<CASE VALUE="1" CONTINUE="....survey" />
		<CASE VALUE="2" CONTINUE="....survey" />
		                  .
		                  .
		                  .		
	</CASEROUTE>

But, as I said, control is not going to my file, "error.survey".

Does it have to be an html file? or can I leave it as is?

Any ideas?

Thanks for any help in advance....

Kind regards,

Lorie

Skickat av Lorie Srivastava <[email protected]>
till survey-discussion