How to generate drop down lists dynamically with Filemaker XSLT

Posted on 2009-02-18
Last Modified: 2013-11-18
We have a small FM database that has been web enabled using FileMaker XSLT Site Assistant. The original (inherited) web pages use drop down lists that have been created manually. We would like to generate them dynamically. We have been able to do this in the FM database and the client side application shows the drop downs in the Browse view properly. But the changes to the  generated drop down lists do not transfer to the findrecordes.xsl page. It works fine if we regenerate a new findrecordes.xsl page, but if we do that, then we have to add all the additional coding, design, etc. that is part of the original web page.

The code below is the code that points to the field/drop down list in the newly generated findrecords.xsl page and the drop down displays the options as expected. When transferred to the existing findrecords..xsl web page, the drop down had no options listed.

Is there a step we need to do to the database or original xsl pages so the new dropdown will display the options?
<select size="1">

	<xsl:attribute name="name">SchoolList_VL 2::Name</xsl:attribute>

		<xsl:attribute name="title">SchoolList_VL 2::Name</xsl:attribute>

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

			        <xsl:for-each select="$valuelists[@NAME = 'School_Name']/fml:VALUE">


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

			<xsl:value-of select="."/>




Open in new window

Question by:nflowers1228
    1 Comment

    Accepted Solution

    I figured this out. the xml grammar was pointing to the wrong layout view. Once I changed that the drop downs worked find.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Most of the sites are being standardized with W3C Web Standards. W3C provides lot of web standard services to the web. They have the web specification, process and documentation for all the web standards. You can apply HTML, CSS and Accessibility st…
    It's sometimes a bit tricky to use date functions in Oracle BPEL. I'll explain quickly how you can add N days to the current date. In a BPEL process this can be useful, and you can adapt it to fit your needs. First of all, let's see how to add 1 …
    Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
    The viewer will learn how to dynamically set the form action using jQuery.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now