<td class="lbltxt"><INPUT type="radio" ID="PS_FORM/SUBJECT_PROPERTY/Sold_6Months" VALUE="Y" NAME="PS_FORM/SUBJECT_PROPERTY/Sold_6Months" class="trans"> [b] <xsl:if test="PS_FORM/SUBJECT_PROPERTY/Sold_6Months = 'Y'"> <xsl:attribute name="checked"> <xsl:value-of select="true" /> </xsl:attribute> </xsl:if></INPUT>Yes[/b][code]
<INPUT type="radio" ID="PS_FORM/SUBJECT_PROPERTY/Sold_6Months" VALUE="N" NAME="PS_FORM/SUBJECT_PROPERTY/Sold_6Months" class="trans">
<xsl:if test="PS_FORM/SUBJECT_PROPERTY/Sold_6Months = 'N'">
<xsl:attribute name="checked">
<xsl:value-of select="true" />
</xsl:attribute>
</xsl:if></INPUT>No
[/code]
the boled section needs to be red when yes is selected.
I tried
<td class="lbltxt"><INPUT type="radio" ID="PS_FORM/SUBJECT_PROPERTY/Sold_6Months" VALUE="Y" NAME="PS_FORM/SUBJECT_PROPERTY/Sold_6Months" class="trans"> <xsl:if test="PS_FORM/SUBJECT_PROPERTY/Sold_6Months = 'Y'"> <xsl:attribute name="checked"> [b] <font class" myredclass" <xsl:value-of select="true" /> </xsl:attribute><font>[/b] </xsl:if></INPUT>Yes <INPUT type="radio" ID="PS_FORM/SUBJECT_PROPERTY/Sold_6Months" VALUE="N" NAME="PS_FORM/SUBJECT_PROPERTY/Sold_6Months" class="trans"> <xsl:if test="PS_FORM/SUBJECT_PROPERTY/Sold_6Months = 'N'"> <xsl:attribute name="checked"> <xsl:value-of select="true" /> </xsl:attribute> </xsl:if></INPUT>No
and variations of that where myfontclass is the class i have that has colors in it.

New Topic/Question
Reply




MultiQuote






|