Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

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).]

Posted

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

Posted

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.

Posted

I got it.

I used the -Lay=Layout Name in the request

and [FMP-Field:Field Name, format]

FMPused the formats from that Layout. I worked great. Thanks for your help

Posted

One thing you should make sure abour if you are using layout names in your online databases is to make sure all layouts have no spaces in their names. I have found this makes them unusable in INLINEACTION tags [fmp-inlineaction]

Simon

Posted

I've also found it a good practice not to use spaces in field names for databases that will be set up for the web. I use underscores instead. It doesn't matter for FMP but some javascript tricks won't work if the field names have spaces.

Posted

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.

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