?
Solved

How to generate drop down lists dynamically with Filemaker XSLT

Posted on 2009-02-18
3
Medium Priority
?
721 Views
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">
			<option>
		                  <xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute>
			<xsl:value-of select="."/>
			</option>
	</xsl:for-each>
</select>

Open in new window

0
Comment
Question by:nflowers1228
1 Comment
 

Accepted Solution

by:
nflowers1228 earned 0 total points
ID: 23684277
I figured this out. the xml grammar was pointing to the wrong layout view. Once I changed that the drop downs worked find.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I will show you how to create a ASP.NET Captcha control without using any HTTP HANDELRS or what so ever. you can easily plug it into your web pages. For Example a = 2 + 3 (where 2 and 3 are 2 random numbers) Session("Answer") = 5 then we…
What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Suggested Courses

840 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