Jump to content

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

Recommended Posts

  • Newbies
Posted

I'm a Lasso newbie - having great difficulty with the Value_List tag. I'm trying to create a menu that pulls the value list items from my FileMaker file (TestFile). I have a field in the database named MyList on a layout called Web. The attached value list (to MyList) is called values.

I'm using Lasso 5 and FM 6.

I set up a sample page to test, here's the code on my page:

  

<html>

<head>

<title>Value List Sample</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

</head>



<body bgcolor="#FFFFFF" text="#000000">



[inline: Database='TestFile', Layout='Web', -Show] 

[/inline]

	

<p align="center">Value List 

    <select name="MyList">

	  [Value_List:'MyList']

      <option value="[Value_ListItem]" [selected] selected>[Value_ListItem] 

	  [/Value_List] 

    </select>

</p>



</body>

</html>



Any help would be most appreciated.

Thanks, Eric

Posted

I did not check the syntax, but one mistake is obvious:

[inline: Database='TestFile', Layout='Web', -Show]

<p align="center">Value List

<select name="MyList">

[Value_List:'MyList']

<option value="[Value_ListItem]" [selected] selected>

[Value_ListItem]

[/Value_List]

</select></p>

[/inline]

This topic is 8014 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.