RE: Default date in cfinput type=datefield

2012-12-17 Thread Robert Harrison

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

2012-12-17 Thread Robert Harrison

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

2012-12-17 Thread Chad Baloga

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

2012-12-17 Thread Chad Baloga

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