Re: specifying an error file in the CASEROUTE command

bugant <[email protected]> Fri, 26 Aug 2005 10:57:41 +0200
Newsgroups gmane.comp.apache.mod-survey.general
Message-ID <[email protected]>
hi,
Lorie Srivastava wrote:
> 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.

What do you mean with "invalid"? I've read it as "a not listed case". Is 
it right?

[snip]

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

it works fine for me. I'm using develpment version but I think for 
stable is the same.

What type of questions are you using to assign CTask value?
I've tested both choice and text.

stay tuned,
bugant.
Skickat av bugant <[email protected]>
till survey-discussion