Hi Bob,
(My Joomla 1.7 system runs CF4.0 RC2.0 and the datepicker.js is version 1.17)
I use the Datepicker for a formfield to pick a date in 1 field, fill in a number of days in another field to then calculate the new date (on keyup) in the third field. That system works ok now by splitting the date, parsing, calculate and set the new value. (using field_clone_id.value)
Offcourse I want that function to run again when the date changes in the first field with the datepicker. I saw that you spoke about the 'onShowComplete' option but I cannot get that to work. I see an 'onclose' option in the datepicker.js but when I just fill in an alert there, the alert shows several times when even loading the page.
So my question is, is it possible to trigger my function (or paste my complete function in the JS file?) with this setup? And is upgrading to datepicker 2.1.1. as you wrote last month in this post http://chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&f=26&t=24670 profitable for achieving what I want?
(My Joomla 1.7 system runs CF4.0 RC2.0 and the datepicker.js is version 1.17)
I use the Datepicker for a formfield to pick a date in 1 field, fill in a number of days in another field to then calculate the new date (on keyup) in the third field. That system works ok now by splitting the date, parsing, calculate and set the new value. (using field_clone_id.value)
Offcourse I want that function to run again when the date changes in the first field with the datepicker. I saw that you spoke about the 'onShowComplete' option but I cannot get that to work. I see an 'onclose' option in the datepicker.js but when I just fill in an alert there, the alert shows several times when even loading the page.
So my question is, is it possible to trigger my function (or paste my complete function in the JS file?) with this setup? And is upgrading to datepicker 2.1.1. as you wrote last month in this post http://chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&f=26&t=24670 profitable for achieving what I want?