AnsweredAssumed Answered

XSLT textarea tag

Question asked by shryn_1 on Jan 17, 2011


XSLT textarea tag

Your post


I'm very new to xslt tagging and have an addrecord.xsl file generated by Filemaker Server XSLT Site Assistant.

I need a text area field with rows and columns, rather than the single row field generated by the Site Assistant.

Can anyone tell me how to change the code to suit my needs?

<td align="left"> <xsl:variable name="field-value" select="fmrs:resultset/fmrs:record/fmrs:field[@name='Request Data']/fmrs:data"/> <xsl:choose> <xsl:when test="$_found-count>0 and string-length($field-value)>0"> <xsl:for-each select="$field-value"> <xsl:if test="position() != 1"><br/></xsl:if> <input size="50" type="text"> <xsl:attribute name="name">Request Data(<xsl:value-of select="position()"/>)</xsl:attribute> </input> </xsl:for-each> </xsl:when> <xsl:otherwise> <input size="50" type="text"> <xsl:attribute name="name">Request Data</xsl:attribute> </input> </xsl:otherwise> </xsl:choose>

Thanks in advance.