Jump to content
Server Maintenance This Week. ×

Formaing Date Fields on Web page


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

Recommended Posts

I have a page that returns a list of records containing dates, like this...

[FMP-Record]

[FMP-Field :Date Field], [FMP-Field :Date Field].... and so on...

[/FMP-Record]

The HTML output looks like "10/20/2000"

I want it to look like "10/20"

Is there a way to specify date formating with CDML?

Thanks,

G

[This message has been edited by spragueg (edited October 20, 2000).]

Link to comment
Share on other sites

How does CDML know which layout to use? I have layouts that use long dates and others which display it short. Do I have to specify which layout somehow? I looked at the -Lay and [FMP-LayoutFields] tag but neither seem to have anything to do with format acording to the CDML Reference DB.

G

Link to comment
Share on other sites

In the HTML/CDML source that you use to query and load the result page, you will specify the database (-db) and layout (-lay) to use. I only have the CDML/web reference for 4.1, so don't have the reference for the new 5.0 "Format" parameter (I read it in a post somewhere), but I am assuming that it is used like the "Raw" or "URL" parameter, which is documented under the "Field" section.

Link to comment
Share on other sites

Simon (or anyone)

Can you discuss the inline action cdml tags. I just upgraded to FMP5 and am sorely missing the CDML reference. I know all the FMP4 tags but none of the FMP5 ones!

Thanks.

Link to comment
Share on other sites

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