wobbie Posted August 10, 2005 Posted August 10, 2005 I seem to have a problem to get my valuelists from the db to my webinterface. I've used the following code in my html pages choose [FMP-option: field1, list=list1] I've copied this from a working solution and adapted it to my fields and lists. I've tried the help function on this forum and i've tried google but can't find the solution... A simple version of the db and html pages can be found here I use filemaker pro 6 and panther. Thanks
Steve T. Posted August 10, 2005 Posted August 10, 2005 Hi, w! For some reason, I couldn't open the downloaded db to check, but if this is your actual code taken from another working example, could it be a simple typo in your -lay tag... "normaal" or "normal", or was that just a typo in the post or a language issue? --ST
Jukkie Posted August 10, 2005 Posted August 10, 2005 Hi Wobbie, Try it this way: [FMP-VALUELIST: field1 ,LIST=list1] [FMP-VALUELISTITEM][/FMP-VALUELIST] See you
wobbie Posted August 11, 2005 Author Posted August 11, 2005 (edited) Steve T -> the name of the layout is a language issue -) I've dubbelchecked the DB and layout name, the name of the field and the list. Everything looks ok... Jukkie -> The example didn't work either. When i implemented this code i just got a dropdown menu that displayed part of the code and not the items in my valuelist... I have no idea why this won't work... Edited August 11, 2005 by Guest
Steve T. Posted August 11, 2005 Posted August 11, 2005 Hi, w! Here is some code from a working solution I had for radio buttons... [FMP-ValueList: eventtype, list=eventtype_list] [FMP-ValueListItem] [/FMP-ValueList] Adpating it for a dropdown menu, I'd suggest trying... title [FMP-ValueList: eventtype, list=eventtype_list] [FMP-ValueLIstItem] [/FMP-ValueList] Hope it helps! --ST
Jukkie Posted August 11, 2005 Posted August 11, 2005 (edited) Hello Wobbie, I did this to make your solution work. First of all I put the test.fp5 database as a multi user and enabled web. After that I made a default page with a link to your searh page. The link is a CDML tag. When you click the link you connect to the database and get the result you want. Put de enclosed (see the Attached file: test.zip) default.htm en search.htm page in your filemaker web route, open the database test.fp5. type in browser: http://localhost/default.htm I hope you can make it work. Suc6 Jukkie test.zip Edited August 11, 2005 by Guest
wobbie Posted August 12, 2005 Author Posted August 12, 2005 Works perfectly know! Thanks for the help. Even my original code works if i use a cdml link to connect to the database.
Jukkie Posted August 13, 2005 Posted August 13, 2005 Thats right Wobbie, The page that contains information from a filemaker database needs first to connect to that database so it can collect the information what is needed to show online. Greetings Jukkie
Recommended Posts
This topic is 7034 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 accountSign in
Already have an account? Sign in here.
Sign In Now