sai Posted July 30, 2003 Posted July 30, 2003 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.
EddyB Posted July 30, 2003 Posted July 30, 2003 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.
Steve T. Posted July 30, 2003 Posted July 30, 2003 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
Unable Posted July 30, 2003 Posted July 30, 2003 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.
JitseSchaafsma Posted July 31, 2003 Posted July 31, 2003 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
sai Posted August 1, 2003 Author Posted August 1, 2003 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
Unable Posted August 1, 2003 Posted August 1, 2003 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.
Steve T. Posted August 1, 2003 Posted August 1, 2003 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
Recommended Posts
This topic is 8122 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