Re: Customizable submit error messages

Joel Palmius <[email protected]> Tue, 12 Feb 2008 12:53:45 +0100 (CET)
Newsgroups gmane.comp.apache.mod-survey.general
Message-ID <[email protected]>
Ok, I've fixed CUSTOM in svn. It has now got a CAPTION parameter, with the 
only purpose of being displayed in SUBMITERROR. I've also checked that it 
behaves in the expected way with MUSTANSWER and SUBMITERROR.

I'm leaving MUSTMSG for now. It is still valid as an alternative to 
writing both a CAPTION and a SUBMITERROR tag.

   // Joel


On Tue, 12 Feb 2008, Joel Palmius wrote:

> Sorry I was a while in answering.
>
> Testing this it seems it does not work yet. I will see to it that the same 
> mechanics apply to CUSTOM before releasing the -pre. However, since there is 
> no CAPTION in a CUSTOM, you will not be able to parse $caption in the error 
> message, so I guess MUSTMSG might still have a place.
>
>  // Joel
>
>
> On Sat, 9 Feb 2008, George Clark wrote:
>
>> ** Reply to message from Joel Palmius <[email protected]> on Fri, 8 Feb 
>> 2008
>> 15:24:16 +0100 (CET)
>> 
>> Hi Joel,
>> 
>> Excellent - this is a great enhancement.  Will it also work for the CUSTOM 
>> tags
>> so that we can replace the MUSTMSG code that I had added?
>> 
>> George
>> 
>> 
>>> For the upcoming -pre release I have added the option to customize error
>>> messages. By using the new SUBMITERROR tag you can display your own html
>>> code if a specific error happens. A short example:
>> Skickat av "George Clark" <[email protected]>
>> till survey-discussion
>> 
> Skickat av Joel Palmius <[email protected]>
> till survey-discussion
>
Skickat av Joel Palmius <[email protected]>
till survey-discussion