October 4, 200025 yr We are using 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] Can anyone tell us what is wrong? We can't even get a call to work. Perhaps we are not coding it correctly.
October 5, 200025 yr Hi, Try the following code: email:<select name="email">[FMP-option: email, list=Results]</select> This should do it. I f 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
October 6, 200025 yr Author Thanks we will try this code. jad quote: Originally posted by JM: Hi, Try the following code: email:<select name="email">[FMP-option: email, list=Results]</select> This should do it. I f 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
December 1, 200025 yr Any web page with CDML codes in it needs to be "proccessed" by Web Companion so the codes can be replaced with values. In your case, I bet you are just viewing the page directly. To get them to work takes two steps: 1) Load a page that has a link (or a form) with the nescesary parameters to process the page: -db, -lay, -format, -error, and an action tag. The -view action is good here, but you can also use -findany, the difference being that -view is processed without requiring any password checking. If you want a password before viewing, use -findany. 2) Click on the link (or submit button) and Web Companion processes the page and displays it correctly. The two steps can be sort-of reduced to one by using a meta-redirect tag that redirects to a specified url after a predetermined wait. So 1 sec after loading the first page the browser automatically loads the "real" url to generate the page. I use the meta tag often.
Create an account or sign in to comment