Re: Re: <LIST> TAG default value in ver 3.2.2

Joel Palmius <[email protected]> Tue, 25 Jan 2005 16:24:36 +0100 (CET)
Newsgroups gmane.comp.apache.mod-survey.general
Message-ID <[email protected]>
On Tue, 25 Jan 2005, Gabriele Morelli wrote:

> 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 ;-))

Some browsers also autoselect one element in the list, and some even 
pre-checks radio buttons if all are clear, so it will never be perfect. 
However, this problem is obviously a bug, so it should be fixed.

I'll take a look at it, but if you are keen on perl programming and want 
to give it a try, the relevant procedure is in Survey/Component/List.pm, 
in a sub called PrintComponent().

   // Joel


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