November 2, 200025 yr I am strill trying to use the CDML field(dynamic) in an add WEB file. However, all it puts on the WEB page is the code and does not pull from the database the required Value list. Following is the code: email: <select name ="email"> [FMP-ValueList: email , Results] <option> [FMP-ValueListItem] [/FMP-ValueList] </select> All that appears is [FMP-ValueList: email , Results] <option> [FMP-ValueListItem] [/FMP-ValueList] I tried the following: Try the following code: email:<select name="email">[FMP-option: email, list=Results]</select> This should do it. If you add: <option VALUE="" SELECTED>- Select - before the FMP-option tag, none of the valuelist options will be automatically selected. Example: - Select - (This will be automatically selected) Valuelist Item #1 Valuelist Item #2 etc.. Hope this helps. JM However this does not work either. Does anyone know if since this is an add form if I need to put the full path as in a <a href....> before I put the <select>? I have tried this but I cannot seem to get the code correct. Jo Ann
November 10, 200025 yr You cannot browse these format files directly in the browser, you have to instruct Web Companion to "build" them with some sort of adtion tag -- the -View action is the most convenient. This means that loading your page will be a two-step process: one goes to a "static" html page that has a link on it with the CDML codes needed to generate the page. This will be something like.. FMPro?-db=file.fp3&-lay=layout&-format=page.htm&-error=error.htm&-View Your fancy web page will be generated once the user clicks on the link. Alternatively some people use a META refresh to automatically redirect the user to the FMP? url.
Create an account or sign in to comment