| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| njpmr 
 
 
 Joined: 28 Feb 2010
 Posts: 24
 
 
 | 
			
				|  Posted: Fri Sep 24, 2010 2:13 am    Post subject: Date -Time Init |   |  
				| 
 |  
				| I am calling fFormatInput from onload to initialize the calendar. I am using the datetime theme. If I initialize the _timeVal to a valid time string, when I click on the calendar it is set to the correct date and time but when the time is incremented it does not update in the display. What would be the proper way to initialize the time field? |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| calendarxp Site Admin
 
 
 Joined: 30 Jan 2005
 Posts: 409
 
 
 | 
			
				|  Posted: Fri Sep 24, 2010 7:28 am    Post subject: |   |  
				| 
 |  
				| Could you please attach your test code here or give us a live link so as to help us understand the situation? _________________
 Copyright 2003-2011 Idemfactor Solutions, Inc. All rights reserved.
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| njpmr 
 
 
 Joined: 28 Feb 2010
 Posts: 24
 
 
 | 
			
				|  Posted: Sat Sep 25, 2010 1:34 pm    Post subject: |   |  
				| 
 |  
				| I got it fixed. Unless I was missing something, calling fFormatInput in the dateTime theme and only passing y m d was resulting in the _timeVal field displaying as undefined. The way I was trying to init _timeVal field was wrong and it was actually resetting it as you changed the time. That is why I was asking if there was a specific way designed to init time 
 Thanks
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		|  |