Re: <LIST> TAG default value in ver 3.2.2

Gabriele Morelli <[email protected]> Tue, 25 Jan 2005 15:09:34 +0000 (UTC)
Newsgroups gmane.comp.apache.mod-survey.general
Message-ID <[email protected]>
Joel Palmius <joel.palmius <at> miun.se> writes:

> 
> This seems to be a bug, which I have to solve somehow. A workaround is to 
> set VALUE on each LISTELEMENT, and not use the value "0" anywhere.
> 
> Doing this leaves all elements unselected when I view the survey.
> 
>    // Joel
> 
> On Mon, 24 Jan 2005, Morelli Gabriele wrote:
> 
> > I upgrade to ver 3.2.2 and I noticed that the default value of the LIST tag 
is
> > now set to the last item on the list.Is there an attribute to set the 
default
> > value blank?
> >
> > Thank you for your time.
> >
> > Gabriele
> >
> >
> > Skickat av Morelli Gabriele <morelli <at> istitutodeglinnocenti.it>
> > till survey-discussion
> >
> Skickat av Joel Palmius <joel.palmius <at> miun.se>
> till survey-discussion
> 
> 
Unfortunately my LIST tag is composed by LISTELEMENT(s) that already have set 
the VALUE attribute. Example :
        <LIST NAME="provdf" CAPTION="Provincia:" STYLE="element1" 
VISIBLELEN="1">
CONCATENATION
<LISTELEMENT VALUE="" CAPTION=" " />
<LISTELEMENT VALUE="AG" CAPTION="AGRIGENTO" />
<LISTELEMENT VALUE="AL" CAPTION="ALESSANDRIA" />
<LISTELEMENT VALUE="AN" CAPTION="ANCONA" />
...
and so on...

As you can see i added a blank LISTELEMENT on the top...Is there a way I can 
workaround in another way?
If there's no other way its not a big problem...
but I am a perfectionist ;-))

Gabriele



Skickat av Gabriele Morelli <[email protected]>
till survey-discussion