| Add a hidden date format? ¶ | |
| Okay, I may have missed this, but I'd like to display the date in one format, but pass it to my database in another format. For example, display the selected date in the input field as "Friday, March 25th, 2005" while passing that date as "2005-03-25" when the form is submitted. I know I can just reformat the date in code before the form passes it to the database, but it would be very elegant if the calendar was capable of just passing the correct format in the first place. Anyone try this or have a suggestion? Thanks for any help. | |
| last |
| have 2 calendars on page-need to set one based on other ¶ | |
| Hi, I have 2 calendar objects on one page as flat calendars for an arrival and departure date. By default I set arrival to today and departure to today+1. And all works fine. Now I need to make a change. If the user changes the month or year of the arrival calendar, I need to set the departure to the same. This is to avoid requiring the user to change both, or worse, forgetting to change the departure. I know there is a public function to set the date. So in my flatCallback, which is the same for both calendars, I need to check to see if this is the arrival calendar, and then if the month or year have changed set the date accordingly for the departure. But I am using the Calendar.Setup so I have no reference to the departure calendar when I am in the callback for the arrival calendar. How do I get a reference? Do I need to use the constructor instead? If so, could someone post a step by step on how it is done? There is mention of it in the docs but it assumes you know more than I do. Thanks for any help. | |
| last |
| How to validate as required ¶ | |
| I have setup the calendar and it is running smoothly. The selected date goes to a hidden field for insertion into a database on submitting the form. The problem I have is I need the date provided by the calendar to be a required field. I don't simply know how to validate a hidden field on the client. Is there a way you know or resource I can visit? I am using version 0.9.6 of the calendar. | |
| last |
| Submit Form ¶ | |
| Hi, I have been wondering how you would go about making a form that holds the calendar automaticly submit when a date has been selected. Thanks. | |
| last |
| Re: Submit Form ¶ | |
| Pass the "onUpdate" parameter to Calendar.setup, like this: function submitForm() { Hope this helps. | |
| last |
| Disable First Day of Week Feature ¶ | |
| First off..this control is fantastic! I would like to know if there a way to disable the feature that allows a user to modify the first day of the week? I have a very 'simple' user base and would like to eliminate any chance of confusion. Thanks much! | |
| last |
| Re: Disable First Day of Week Feature ¶ | |
| Err, not quite possible yet, but the idea is good. :-) We'll keep it in mind for the next version. /me thinks .oO( after spending a lot of time adding features, we now have to spend time allowing folks to disable them :)) I guess that's how things go with software... ) | |
| last |
| Flat calendar and multiple dates ¶ | |
| Greetings, I am wondering if it is possible to do the following: 1. Have a flat calendar I am trying to develop an events calendar system whereby the administrator would be able to choose multiple dates for an event. When the admin edits the event, I'd like the calendar to appear with his chosen dates pre-selected. Any ideas on how to pull this off? Thanks! | |
| last |
| Re: Flat calendar and multiple dates ¶ | |
| Haven't gotten a response yet. Is this possible? Is any of what I'm asking about possible? | |
| last |
| WeekNumbers selectable ¶ | |
| Hi, is it possible to get the weeknumbers selectable? I want to use the calendar as follows. If you click a date, the single date should be selected and output in the input field. But if you click the weeknumber, only the weeknumber should be selected. Is this possible? Thx | |
| last |
| Re: WeekNumbers selectable ¶ | |
| selectable weeknumbers like you describe would be a nice feature, and also selectable month. Is it possible to implement, or planned to be? | |
| last |
| Pre-selected dates ¶ | |
| If one has two dates (eg. April 13, 2005 and April 30, 2005) and the code for setting the multiple selection parameter is MA[MA.length] = d, what is the appropriate way to format each date string as the variable, d, so that the calendar will show both dates as selected the first time it is triggered? BTW, Congrats on such elegant and useful code. | |
| last |
| Don't select old dates ¶ | |
| Firstly, thanks a lot. This calendar is superrb, and east to configure. Many thanks | |
| last |
| Re: Don't select old dates ¶ | |
| Hi, I too would like to implement this option, but have almost zero experience with javascript. How would I implement this so that any dates previous than the current day are disabled and not selectable? Please help. Regards, Chris | |
| last |
| Why is Aqua theme so slow? ¶ | |
| why is is that when I try to use the Aqua theme, it is incredibly slow? as the user moves the mouse around, it is constantly downloading the many images required. on the sample page on your site, or locally, it is smokin' fast, and very nice looking. but i put that exact same code on my site, and it's unacceptably slow. seems like maybe the aqua images need to be read into an array, but i'm not too sure how to do that. thanks for any help! | |
| last |
| Re: Why is Aqua theme so slow? ¶ | |
| It's an Internet Explorer issue. If you check with any other browser you'll notice it's OK, but IE insists on loading all the images over and over instead of returning them from cache. The only solution that I know of is to include all the images linked from the Aqua theme somewhere in your HTML code, like this: <div style="display:none"> Hope this helps. | |
| last |














