Hi,
I had to create a form with several JavaScript calendars in it and thought it might be useful if I could have a simple way of implementing them. The result is this ChronoForms Plugin for Joomla 1.5.
All the JavaScript it uses is already installed with Joomla 1.5 and so you need no extra files.
To use it with your form, select the Form in the Form Manager and click the Calendar PlugIn link. (To start with just click Save without changing the date format parameter.)
In your form html include the following function call

You may include several calendars in one form provided that they have different field names. All calendar results are returned in a single array $_POST['date_array'].
The calendar function can take more parameters thought these have default values that work in many cases:
Note: This is a beta version of the Plug In and may be buggy!! Please report any problems here.
To install, please use the extension installer in the Joomla admin. It will add a single file to your com_chronocontact/plugins folder. Once the installation is complete you can uninstall the extension.
Bob
[file name=com_cf_calendar_plugin.zip size=5059]http://www.chronoengine.com/images/fbfiles/files/com_cf_calendar_plugin.zip[/file]
I had to create a form with several JavaScript calendars in it and thought it might be useful if I could have a simple way of implementing them. The result is this ChronoForms Plugin for Joomla 1.5.
All the JavaScript it uses is already installed with Joomla 1.5 and so you need no extra files.
To use it with your form, select the Form in the Form Manager and click the Calendar PlugIn link. (To start with just click Save without changing the date format parameter.)
In your form html include the following function call
<?php calendar('name text', 'field_name'); ?>and check the output in your form. You should have an input field with a button beside it, click the button to see the JavaScript calendar.

You may include several calendars in one form provided that they have different field names. All calendar results are returned in a single array $_POST['date_array'].
The calendar function can take more parameters thought these have default values that work in many cases:
<?php calendar('name text', 'field_name', required=false, $id='field_name', value=""); ?>
Note: This is a beta version of the Plug In and may be buggy!! Please report any problems here.
To install, please use the extension installer in the Joomla admin. It will add a single file to your com_chronocontact/plugins folder. Once the installation is complete you can uninstall the extension.
Bob
[file name=com_cf_calendar_plugin.zip size=5059]http://www.chronoengine.com/images/fbfiles/files/com_cf_calendar_plugin.zip[/file]