|
Hi, this is related to my previous post.
Don't know xsl at all, but I'm trying to create 2 btns instead of a 2 radio buttons with one btn. Please help in building a condition in setting the ID, as it only submits with this ID "___Submit" & can't create 2 of the same ID as a get a duplicate.
Is there a way to build a condition onclick to set the ID
Code:
<xsl:element name="asp:Button">
<xsl:attribute name="id">___Submit</xsl:attribute>
<xsl:attribute name="onClick">FG1012Save.checked=true;</xsl:attribute> <xsl:attribute name="runat">server</xsl:attribute>
<xsl:attribute name="text">Save</xsl:attribute>
<xsl:attribute name="CommandName">Submit</xsl:attribute>
</xsl:element>
<xsl:element name="asp:Button">
<xsl:attribute name="id">___Submit</xsl:attribute>
<xsl:attribute name="onClick">FG1010Done.checked=true;</xsl:attribute>
<xsl:attribute name="runat">server</xsl:attribute>
<xsl:attribute name="text">Done</xsl:attribute>
<xsl:attribute name="CommandName">Submit</xsl:attribute>
</xsl:element>
Please any ideas!
Regards
|