Default date in cfinput type=datefield
I am wiping out a cfinput type=datefield and when that happens, the selected date in the calendar still defaults to the value of the input when the page loaded. Is there any way to change that default to a different date?? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353510 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Default date in cfinput type=datefield
Just set the field value equal to the default date you want. Value=mydate Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_williams -Original Message- From: Chad Baloga [mailto:cbal...@gmail.com] Sent: Monday, December 17, 2012 11:21 AM To: cf-talk Subject: Default date in cfinput type=datefield I am wiping out a cfinput type=datefield and when that happens, the selected date in the calendar still defaults to the value of the input when the page loaded. Is there any way to change that default to a different date?? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353511 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Default date in cfinput type=datefield
Oh, I just reread what you said. You'd have to use JavaScript to change the date setting on an event to make that happen. Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_williams -Original Message- From: Robert Harrison [mailto:rob...@austin-williams.com] Sent: Monday, December 17, 2012 11:23 AM To: cf-talk Subject: RE: Default date in cfinput type=datefield Just set the field value equal to the default date you want. Value=mydate Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_williams -Original Message- From: Chad Baloga [mailto:cbal...@gmail.com] Sent: Monday, December 17, 2012 11:21 AM To: cf-talk Subject: Default date in cfinput type=datefield I am wiping out a cfinput type=datefield and when that happens, the selected date in the calendar still defaults to the value of the input when the page loaded. Is there any way to change that default to a different date?? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353512 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Default date in cfinput type=datefield
I am using jQuery to populate the input date... $('#contractDate').val(cfoutput#dateFormat(Now(), 'mm/dd/yy')#/cfoutput); When reset the val it changes the field value but the calendar is still defaulting to the date that it was before I changed it. Just set the field value equal to the default date you want. Value=mydate Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_williams -Original Message- From: Chad Baloga [mailto:cbal...@gmail.com] Sent: Monday, December 17, 2012 11:21 AM To: cf-talk Subject: Default date in cfinput type=datefield I am wiping out a cfinput type=datefield and when that happens, the selected date in the calendar still defaults to the value of the input when the page loaded. Is there any way to change that default to a different date?? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353513 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Default date in cfinput type=datefield
Actually, it does change the calendar but I want the input field to be empty and the calendar to default to todays date. When I set the value to todays date, then wipe it out, it defaults back to the date when the page was loaded. I am using jQuery to populate the input date... $('#contractDate').val(cfoutput#dateFormat(Now(), 'mm/dd/yy')#/cfoutput); When reset the val it changes the field value but the calendar is still defaulting to the date that it was before I changed it. Just set the field value equal to the default date you want. Value=mydate Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_williams -Original Message- From: Chad Baloga [mailto:cbal...@gmail.com] Sent: Monday, December 17, 2012 11:21 AM To: cf-talk Subject: Default date in cfinput type=datefield I am wiping out a cfinput type=datefield and when that happens, the selected date in the calendar still defaults to the value of the input when the page loaded. Is there any way to change that default to a different date?? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353514 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
cfinput type=datefield won't follow my CSS rules
I'm having a problem where my cfinputs that have type datefield are completely ignoring my CSS. Attached is a screenshot of what is happening; you'll see that my normal cfinputs (name, email, etc...) all follow my CSS just fine, but the cfinputs that use type datefield just ignore it completely (even though the container still show up, the cfinputs are not in them). Ken ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345025 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfinput type=datefield won't follow my CSS rules
Sorry, forgot can't do attachments, here is a link to the image: http://postimage.org/image/1hk51i4mc/ -Original Message- From: Ken Hammond khamm...@saleminc.com To: cf-talk cf-talk@houseoffusion.com Date: Wed, 01 Jun 2011 11:55:04 -0500 Subject: cfinput type=datefield won't follow my CSS rules I'm having a problem where my cfinputs that have type datefield are completely ignoring my CSS. Attached is a screenshot of what is happening; you'll see that my normal cfinputs (name, email, etc...) all follow my CSS just fine, but the cfinputs that use type datefield just ignore it completely (even though the container still show up, the cfinputs are not in them). Ken ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345026 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfinput type=datefield won't follow my CSS rules
The datefield type is applying floats to the elements it creates, 'removing' them from their containers. I don't have an example of a fix, but that bit of info will hopefully point you at a solution. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345030 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfinput type=datefield won't follow my CSS rules
I've made it a little further by adding a div around each cfinput datefield and putting the style clear:both; New image: http://postimage.org/image/2umskf4hw/ At least now the labels are in the boxes. -Original Message- From: morgan l greyk...@gmail.com To: cf-talk cf-talk@houseoffusion.com Date: Wed, 1 Jun 2011 13:07:28 -0500 Subject: Re: cfinput type=datefield won't follow my CSS rules The datefield type is applying floats to the elements it creates, 'removing' them from their containers. I don't have an example of a fix, but that bit of info will hopefully point you at a solution. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345035 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfinput type=datefield won't follow my CSS rules
Ok, I got it to work but not the way I really want to do it... Under my LI, I used a table with cell, spacing and borders set to 0, put the label in the first td and the div containing the cfinput type datafield inside the second td then closed it all. Turns out just like I wanted, all be it messy lol. Now the problem I am having is in IE7; the calendar is popping under the field below it. From what I am reading, this is a z-index issue and I have to set a z-index on each of my fields or something (not entirely sure how to do it...). Anyone have any idea on this one? It is only in IE; IE8, Safari and Firefox work fine. Image of working form: http://postimage.org/image/1m31h6rqc/ Image of calendar bleed problem in IE7: http://postimage.org/image/1m34s9gpw/ Thanks! Ken -Original Message- From: Ken Hammond khamm...@saleminc.com To: cf-talk cf-talk@houseoffusion.com Date: Wed, 01 Jun 2011 16:19:15 -0500 Subject: Re: cfinput type=datefield won't follow my CSS rules I've made it a little further by adding a div around each cfinput datefield and putting the style clear:both; New image: http://postimage.org/image/2umskf4hw/ At least now the labels are in the boxes. -Original Message- From: morgan l greyk...@gmail.com To: cf-talk cf-talk@houseoffusion.com Date: Wed, 1 Jun 2011 13:07:28 -0500 Subject: Re: cfinput type=datefield won't follow my CSS rules The datefield type is applying floats to the elements it creates, 'removing' them from their containers. I don't have an example of a fix, but that bit of info will hopefully point you at a solution. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345045 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
cfinput type=datefield
I am using CF8 and want to use cfinput type=datefield but without cfinput does that make sense? ok I want to use ext popup calender for a input box but not via cfinput tag i.e. input type=datefield can I still use the library without cfinput? if so can soneone give me an example? Thanks ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325825 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cfinput type=datefield
You're best off getting ExtJS and using it directly (especially since ExtJS is now up to version 3.0 while CF8 bundles version 1.1). mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2009/8/28 Glyn Jackson glyn.jack...@newebia.co.uk: I am using CF8 and want to use cfinput type=datefield but without cfinput does that make sense? ok I want to use ext popup calender for a input box but not via cfinput tag i.e. input type=datefield can I still use the library without cfinput? if so can soneone give me an example? Thanks ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325826 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfinput type=datefield
I did try that but because I am using cflayout on the same page it all goes wrong coldfusion gets confused to which ext its using or should I sat the JS does. wondering it we can just yap into the ext1 JS bot use the paths or URL's that CF uses. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325828 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfinput type=datefield
personally, i have found various jquery date-related plugins a lot easier to use and a lot more customizable. and you can easily use them together with cf's built-in Extjs-based features. http://jqueryui.com/demos/datepicker/ http://www.filamentgroup.com/lab/date_range_picker_using_jquery_ui_16_and_jquery_ui_css_framework/ Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ On 28/08/2009 23:36, Glyn Jackson wrote: I did try that but because I am using cflayout on the same page it all goes wrong coldfusion gets confused to which ext its using or should I sat the JS does. wondering it we can just yap into the ext1 JS bot use the paths or URL's that CF uses. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325829 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfinput type=datefield
Thanks Think I will try the jquery ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325833 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
cfinput type=datefield
I'm liking this tag. very clean display. problem though is a sitewide CSS has the td,th font-size down to 73% and this interfering with the pop calendar and really squishes it. is there anyway to either add an override css just for the calendar? or does the calendar have a CSS class that I can set an seperate CSS for. I haven't found anything on google or livedocs about it. Thanks ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308955 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
cfinput type=datefield
I'm liking this tag. very clean display. problem though is a sitewide CSS has the td,th font-size down to 73% and this interfering with the pop calendar and really squishes it. is there anyway to either add an override css just for the calendar? or does the calendar have a CSS class that I can set an seperate CSS for. I haven't found anything on google or livedocs about it. TIA ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308956 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
CFINPUT type=datefield popup calendar underlaps other form fields
I'm using CFINPUT type=datefield to create a popup calendar and the calendar works fine but is showing up under other form fields and is hard to read. I've tried applying a class with a z-index through CSS and it doesn work. Has anyone ever ran into this? Any Advice? Thanks Dan ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288208 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFINPUT type=datefield popup calendar underlaps other form fields
Yes I blogged about it a long time ago, and have reported it as a bug to adobe as well. On 9/12/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I'm using CFINPUT type=datefield to create a popup calendar and the calendar works fine but is showing up under other form fields and is hard to read. I've tried applying a class with a z-index through CSS and it doesn work. Has anyone ever ran into this? Any Advice? Thanks Dan ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288214 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
cfinput type=datefield with non U.S Date Format
Hi if I am using the datfield option with cfinput, it will only return the date in U.S format. Is there anyway to force it to return and display the date in Non U.S format? Thanks ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274173 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4