I am in need of a modification to the date picker. My church want to have request forms for facility and media. However, we want the form to block out days that are out of range. (forms submitted within 7days or whatever will be grey out or blocked from input.. is this possible
Forums
date picker
Hi meadowsmedia,
Which version of ChronoForms are you using? You can find the version from Site Admin | Extensions | Install/Uninstall | Components in Joomla! 1.5 or Site Admin | Extensions | Extension Manager | Manage in Joomla! 1.6/1.7/2.5.
Bob
Which version of ChronoForms are you using? You can find the version from Site Admin | Extensions | Install/Uninstall | Components in Joomla! 1.5 or Site Admin | Extensions | Extension Manager | Manage in Joomla! 1.6/1.7/2.5.
Bob
Ok, I am in the game with the date picker finally.. (simple you were right) but I have one problem, I cannot get the calendar box to go away once the date has been imputed.. how can I fix this. Also, can the black out be used on several (6) date pickers in one form with different variables?
if so how do I go about it?
if so how do I go about it?
Hi meadowsmedia,
Which version of ChronoForms are you using? You can find the version from Site Admin | Extensions | Install/Uninstall | Components in Joomla! 1.5 or Site Admin | Extensions | Extension Manager | Manage in Joomla! 1.6/1.7/2.5.
I've never seena problem with the datepicker not hiding itself after use :-( Please post a link to the form so I can take a quick look.
Bob
Which version of ChronoForms are you using? You can find the version from Site Admin | Extensions | Install/Uninstall | Components in Joomla! 1.5 or Site Admin | Extensions | Extension Manager | Manage in Joomla! 1.6/1.7/2.5.
I've never seena problem with the datepicker not hiding itself after use :-( Please post a link to the form so I can take a quick look.
Bob
Solved
Hi meadowsmedia,
There's a JavaScript conflict on the page, probably because one or other (or both) of the versions of jQuery you are loading is not in noConflict mode.
Out of the box jQuery isn't compatible with the MooTools library used by Joomla! and ChronoForms. You can use jQuery with MooTools in no-conflict mode. There are various ways of doing this. The simplest - which may or may not work - is to add a line of script in the ChronoForms Form JavaScript box:
There is also a neat plugin named JB Library from Joomla! Bamboo that allows you to control on which pages jQuery is loaded, and will always load it in no-conflict mode. However this requires that JQuery is loaded using the Joomla Document object methods.
I have a tutorial on Resolving jQuery problems that explores some of the issues an diagnostics and shows how to
Bob
There's a JavaScript conflict on the page, probably because one or other (or both) of the versions of jQuery you are loading is not in noConflict mode.
Out of the box jQuery isn't compatible with the MooTools library used by Joomla! and ChronoForms. You can use jQuery with MooTools in no-conflict mode. There are various ways of doing this. The simplest - which may or may not work - is to add a line of script in the ChronoForms Form JavaScript box:
jQuery.noConflict();
This will free the $ operator which is used by MooTools, so you may need to update your own javascripts to use the longer jQuery operator.There is also a neat plugin named JB Library from Joomla! Bamboo that allows you to control on which pages jQuery is loaded, and will always load it in no-conflict mode. However this requires that JQuery is loaded using the Joomla Document object methods.
I have a tutorial on Resolving jQuery problems that explores some of the issues an diagnostics and shows how to
Bob
loading the plugin worked... Thank you!! what about multiple pickers on one form with blocked dates on all?
Hi meadowsmedia ,
Sorry to keep repeating myself but which version of ChronoForms are you using? You can find the version from Site Admin | Extensions | Install/Uninstall | Components in Joomla! 1.5 or Site Admin | Extensions | Extension Manager | Manage in Joomla! 1.6/1.7/2.5.
Bob
Sorry to keep repeating myself but which version of ChronoForms are you using? You can find the version from Site Admin | Extensions | Install/Uninstall | Components in Joomla! 1.5 or Site Admin | Extensions | Extension Manager | Manage in Joomla! 1.6/1.7/2.5.
Bob
Hi sorry about that, I am using 4.0 version
Bob, one last thing on this.. what dictates the change of day? lets say if I have it set for 6 days to block where is the code for change of time of day.. I have my joomla timezone set to Est and BEFORE Sunday it was changing at 11pm one hour before midnight, now that the time has changed will it catch up....? Is there a way I can set a day/time. for instance NooN is the change time instead of midnight?
Hi meadowsmedia,
Interestgin question - I'm not sure of the answer, I think that as the script is running in the browser the date and time will come from the user's computer so if they are in a different timezone there wil be a different 'switch-off' point.
JavaScript is aware of UTC and time-zone differences so I'm sure that you could code any 'switch-over' time that you want.
Bob
Interestgin question - I'm not sure of the answer, I think that as the script is running in the browser the date and time will come from the user's computer so if they are in a different timezone there wil be a different 'switch-off' point.
JavaScript is aware of UTC and time-zone differences so I'm sure that you could code any 'switch-over' time that you want.
Bob
This topic is locked and no more replies can be posted.