Jump to content
Server Maintenance This Week. ×

Using Javascript and CDML


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

Recommended Posts

Perhaps this is not the appropriate place to ask this quetion, but has anyone experience with Javascript in combination with FMP/CDML?

Is it possible to store Javascript code in a FMP database and have it published using CDML and interpreted/executed at the same time?

I tried som using Web Companion wut it doesn't seem to work.

Link to comment
Share on other sites

On the format page that displays the field containing the Java, make sure you specify it as being "raw." That is...

[FMP-Field: fieldname, raw]

RAW prevents Web Companion from interpreting the code. Instead it just dumps the text onto the resulting web page as-is.

Link to comment
Share on other sites

This topic is 8667 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.