AnsweredAssumed Answered

Add Record Page - More Rows in a XSLT Input Field

Question asked by fareynolds on Jan 7, 2010
Latest reply on Jan 7, 2010 by MartinBrändle


Add Record Page - More Rows in a XSLT Input Field

Your post

I'm new to XSLT so I used FileMaker Server 10 XSLT Site Assistant to make online search pages.  On the addrecord.xsl page I wanted one of the input fields to have more rows so that a user could see the text they put in.  Is there some easy way to do that?


This is the field: 




<td align="right" width="25%">

<b>Bio: </b>


<td align="left">

<xsl:variable name="field-value" select="fmrs:resultset/fmrs:record/fmrs:field[@name='Bio']/fmrs:data"/>


<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">Bio(<xsl:value-of select="position()"/>)</xsl:attribute>





<input size="50" type="text">

<xsl:attribute name="name">Bio</xsl:attribute>