xsl-list
[Top] [All Lists]

Checkboxes in XSLT

2004-11-21 12:38:18
I have checkboxes in my xslt file like this:

<xsl:element name="input">
<xsl:attribute name="type">checkbox</xsl:attribute>
<xsl:attribute name="name">
<xsl:value-of
select="$questionid"/>[1]</xsl:attribute>               
<xsl:attribute name="value">1</xsl:attribute>
<xsl:value-of select="QUERESPONE"/>
</xsl:element>
....
There are 5 more. The values of the checked boxes got
passed but for unchecked boxes I got "undefined
offset" when trying to get the values in PHP.

Is my code wrong?

Thanks a lot.




                
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.yahoo.com 
 


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--