Hi all,
in Struts-Polls 2.2, is there any way to make the
survey answer choices mutually exclusive ?
>From looking at the rendered html + pollForm.jsp, it
seems the radio input elements have different name
attributes ('a1', 'a2', ...), which of course allows
the user to select more than one choice per vote.
So I tried changing the <html:radio> elements in
pollForm.jsp to all have the same name attribute (eg
'a1'). This made the choices mutually exclusive, but
then the results are screwed up since the 'a1' column
is the only one ever incremented in the db in results
table, irrespective of what choice the user votes for.
Any ideas ?
Thanks in advance,
-Paul
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Struts-apps mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/struts-apps