Jump to content

popup menu using custom web publishing


This topic is 7119 days old. Please don't post here. Open a new topic instead.

Recommended Posts

what is the code to create a popup menu based on a value list in custom web publishing (XSL)?

I have tried (unsuccessfully) with (Field in db called 'Department' with valuelist called 'Department')

<input type="hidden" name="Department.op" value="eq"/>

<select size="1">

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

<option value=""> - Select One - </option>

<xsl:variable name="department" select="$layout/fml:FMPXMLLAYOUT/fml:LAYOUT/fml:FIELD[@NAME='Department']/fml:STYLE/@VALUELIST"/>

<xsl:for-each select="$layout/fml:FMPXMLLAYOUT/fml:VALUELISTS/fml:VALUELIST[@NAME=$department]/fml:VALUE">

<option><xsl:attribute name="department"><xsl:value-of select="."/></xsl:attribute></option>

</xsl:for-each>

</select>

Link to comment
Share on other sites

This topic is 7119 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.