Jump to content
Sign in to follow this  
Bryan VonDeylen

popup menu using custom web publishing

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>



Share this post

Link to post
Share on other sites

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
Sign in to follow this  


Important Information

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