July 30, 200322 yr Hi there, Sorry for this. I'm very new to filemaker. I just start using it. I came upon a problem displaying the value list (that I have defined in FM) on the web page. The CDML code I have is: <SELECT NAME='classname' SIZE=1 > <OPTION VALUE=""> [FMP-VALUELIST: classname, LIST=name] <option [FMP-ValueListItem]> [FMP-VALUELISTITEM] [/FMP-VALUELIST] </SELECT> It does have a drop down menu but inside the menu it display [FMP-VALUELIST: classname, LIST=name] and [FMP-ValueListItem]> [FMP-VALUELISTITEM] Am I missing something? Thanks for all your help.
July 30, 200322 yr Hi Welcome to the forum! The first thing to check is to make sure you are calling the search page correctly. If you have just opened the page without calling it with the correct syntax then you will receive the page you described. So for example when doing a search you need to call the page by entering into your address bar: http://YourIpHere/FMPro?-db=YourDbNameHere.fp5&-lay=YourFMLayoutHere&-format=search.htm&-view replace search.htm with the name of your search page if necessary. Hope this helps, if not let us know. Regards Ed.
July 30, 200322 yr Hi, sai! I think EddyB's right. You probably have the valuelist trying to display on your first page... You have to tickle the Web Companion BEFORE accessing/using any db info to display. EddyB suggests doing it the URL. You can also do it with a META REFRESH intro page. Some kind of FM action has to occur (-find/-view/-new/-edit, etc.) before the info can be seen. After the tickle, your CDML code should display the data instead. --ST
July 30, 200322 yr In its simplest terms, in order to display data from a FMPro database file over the www, one first must establish a connection with that db file.
July 31, 200322 yr agree: first check the HTML page in the browser to see if the search results mach your findings. Then modify your code to fill a select box Jitse
August 1, 200322 yr Author Thanks for the responds. =) Yea I was thinking I might need to load the -db 1st. Is it possible to load the -db without that link? For example, is there a code where I can just place on the HTML page and auto loads the db. Because my main page is actually Search.html. If cant, I probably need to use a frame? but thx for all the responds. =) Jim
August 1, 200322 yr Perhaps there is a more simple answer than that which I provided. Since you have rephrased your question (Is it possible to load the -db without that link?") I will rephrase my earlier response so that it is to be hoped Clear To Even YOU! no Now go enjoy life.
August 1, 200322 yr Hi, Jim! My guess is you'll have to use a META REFRESH tag on an intro page that will auto-transfer people to your main page. The main drawback is a messy URL on your main page (CDML strings), but it should otherwise be OK. <META HTTP-EQUIV="Refresh" CONTENT="7; URL=http://www.yoursite.com/main.html"> Hope this helps! --ST
Create an account or sign in to comment