Announcement

Collapse
No announcement yet.

Convert PickList to Text box

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Convert PickList to Text box

    Hi all,

    I am trying to change the PickList to text box by using the xsl,The code for pickList used in the xsl is

    <td>
    <xsl:call-template name="fieldPickList">
    <xsl:with-param name="name">hazmat_item/region/xid</xsl:with-param>
    <xsl:with-param name="label"><xsl:value-of select="translator:get-translated-value('field.hazmat_item/region/xid')"/></xsl:with-param>
    <xsl:with-param name="form">management_main</xsl:with-param>
    <xsl:with-param name="value"><xsl:value-of select="region/xid"/></xsl:with-param>
    <xsl:with-param name="valueID"><xsl:value-of select="<A href="mailto:region/xid/@ID"/></xsl:with-param">region/xid/@ID"/></xsl:with-param>
    <xsl:with-param name="required">true</xsl:with-param>
    <xsl:with-param name="query">false</xsl:with-param>
    <xsl:with-param name="query_name">glog.server.query.powerdata.Regi onQuery</xsl:with-param>
    </xsl:call-template>
    </td>

    The above code i changed to

    <td>
    <xsl:call-template name="fieldText">
    <xsl:with-param name="name">hazmat_item/region/xid</xsl:with-param>
    <xsl:with-param name="label"><xsl:value-of select="translator:get-translated-value('field.hazmat_item/region/xid')"/></xsl:with-param>
    <xsl:with-param name="form">management_main</xsl:with-param>
    <xsl:with-param name="value"><xsl:value-of select="region/xid"/></xsl:with-param>
    <xsl:with-param name="query">false</xsl:with-param>
    <xsl:with-param name="max">101</xsl:with-param>
    </xsl:call-template>
    </td>

    By this change the PickList is changed to Text box but the value is not storing in that field.

    Kindly guide me in this.

    Regards,
    Pradeep
Working...
X