Re: Over riding the default error messages

Lorie Srivastava <[email protected]> Mon, 8 Aug 2005 16:07:25 +0000 (UTC)
Newsgroups gmane.comp.apache.mod-survey.general
Message-ID <[email protected]>
Martin Ertl <ertl.martin <at> gmail.com> writes:

> 
> I'm not sure but I think the error page itself is generated
> in Survey/Slask.pm, sub IsError().
> There it should be possible to change the style of the errormessage.
> 
> The message is created in Survey::Component::_XXX_::GetCheckValue().
> If nothing other helps, replace the thing with
>      $sub->{ERROR} = lprint("The question with caption") ...
> with your own message.
> 
> br
> Martin
> 
Thanks! Worked like a charm!
Just commented out the big red generated message in Survey/Slask.pm!

Kind regards,

Lorie




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