Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 8760 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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.

Posted

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

Posted

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

  • 1 month later...
Posted

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.

This topic is 8760 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.