Forums

Check box to clear calendar built into the calendar control??

NickOg 24 Mar, 2019
I seem to recall a check box on a calendar control that allowed one to clear that calendar field. Am I dreaming? Was that in an earlier version? Is there such an option?

If not I need some JQ code do I not? I have that somewhere.

Nick
Max_admin 25 Mar, 2019
Hi Nick,

I can not rememeber that but the next update has a new field event action to reset other fields.

Best regrads
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
NickOg 25 Mar, 2019
1 Likes
Thanks Max - that sounds like the go

Nick
NickOg 29 Mar, 2019
Hi Max

Any idea when this might appear? I need to decide whether to wait or adapt some JQ code.

Regards

Nick
healyhatman 29 Mar, 2019
Adapting some jQ code will be a lot faster, unless the update is coming out sometime in the next 10 minutes
NickOg 29 Mar, 2019
I suspect that is the case,. I just thought I would check to quickly.
Nick
Max_admin 30 Mar, 2019
Answer
The new update is out!

Best regards
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
NickOg 30 Mar, 2019
Great Max - worls a treat

Thanks

Nick
NickOg 31 Mar, 2019
ps - I couldn't get it to clear a calendar control using #id but worked using the name of the calendar control. It cleared the field but reloaded after I submitted the form with the cleared control.

Does that make sense?

Nick
healyhatman 31 Mar, 2019
1 Likes
It does make sense because the actual value for the calendar is stored in a separate hidden field, so targeting it with ID won't work. It will only clear the thing that has that exact ID (which is exactly as it should be)
This topic is locked and no more replies can be posted.