If you want to style your textfield, do it with

in template:
<ft:widget .....>
  <fi:styling class="myCSSClass"/>
</ft:widget>

Kind Regards,
Jan

Roberto wrote:

Dear Sirs,
this is what I found in the form-field-styling.xsl file:
<xsl:template match="fi:field">
<input name="[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>}" id="[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>}" value="{fi:value}" title="{fi:hint}" type="text">
<xsl:apply-templates select="." mode="styling"/>
</input>
<xsl:apply-templates select="." mode="common"/>
</xsl:template>
So what I need is to add a class name to my input field I thought to do something like that:
<input name="[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>}" id="[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>}" class="[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>}" value="{fi:value}" title="{fi:hint}" type="text">
and then adding to my description file this: <fd:field id="txtNome" class="txt">...
But obiusvoly dosn't work... Any suggestion on how to add a class (for my css file) to an input file?
Thanx in advance
Ciao
ROberto




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to