Mark,
I added my own suppressTime attribute for this custom tag:
This goes at the top: <cfparam name="Attributes.suppressTime" type="boolean"
default="No">
This replaces the inputs for the time fields:
<cfif NOT Attributes.suppressTime>
at <input type="text" name="#Attributes.column#Time" value="#theTime#"
size="8" maxlength="8" #passThroughAttributes#> <select
name="#Attributes.column#AMPM" #passThroughAttributes# ><option
value="AM"<cfif theAMPM EQ "AM"> selected</cfif>>AM</option><option
value="PM"<cfif theAMPM EQ "PM"> selected</cfif>>PM</option></select>
</cfif>
As for the displayList tag, that is a wrapper tag to hold all of the other
tags in. such as the <cf_DisplayColumnInList tag which has a format function
attribute. so you can use the same as I sent before.
John
-----Original Message-----
From: Mark Fuqua [mailto:[EMAIL PROTECTED]
Sent: Friday, August 05, 2005 10:14 AM
To: [email protected]
Subject: RE: [plum] DateFormat
John,
"Have you tried this: formatFunction="DateFormat([value],'mmmm dd,
yyyy')" ?"
Par for the course: worked.
"Also, I found out you dont need to use the supresstime attribute if you
dont
include a time format in the formatFunction attribute."
Curious what you mean by this statement. I was using the <cf_DisplayList>
tag which does not have suppress time attribute. Is there a way to
"suppress the time" on input? I am currently using Plum's
<cf_DisplayDateTimeControl>. Is there a way to prevent the time from being
entered using this tag?
Thanks,
Mark
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of John
Stanley
Sent: Friday, August 05, 2005 7:41 AM
To: '[email protected]'
Subject: RE: [plum] DateFormat
Mark,
Have you tried this: formatFunction="DateFormat([value],'mmmm dd,
yyyy')" ?
Also, I found out you dont need to use the supresstime attribute if you dont
include a time format in the formatFunction attribute.
John
-----Original Message-----
From: Mark Fuqua [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 04, 2005 7:50 PM
To: [email protected]
Subject: [plum] DateFormat
Hey there fellow list members,
I am using the formatFunction attribute of the <cf_DisplayColumnInList> tag
to try and suppress the time. That part works ok...I get 03-Aug-05.
However, I really want to have the date look like it would if I were able to
use "SuppressTime="Yes"...August 03, 2005. I am using this:
formatFunction="DateFormat([value])"
I can't seem to add short, medium, long, full etc. without an error. Is
there a way to do that?
Thanks,
Mark Fuqua
**********************************************************************
You can subscribe to and unsubscribe from lists, and you can change
your subscriptions between normal and digest modes here:
http://www.productivityenhancement.com/support/DiscussionListsForm.cfm
**********************************************************************
**********************************************************************
You can subscribe to and unsubscribe from lists, and you can change
your subscriptions between normal and digest modes here:
http://www.productivityenhancement.com/support/DiscussionListsForm.cfm
**********************************************************************
**********************************************************************
You can subscribe to and unsubscribe from lists, and you can change
your subscriptions between normal and digest modes here:
http://www.productivityenhancement.com/support/DiscussionListsForm.cfm
**********************************************************************
**********************************************************************
You can subscribe to and unsubscribe from lists, and you can change
your subscriptions between normal and digest modes here:
http://www.productivityenhancement.com/support/DiscussionListsForm.cfm
**********************************************************************