Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Date field doesn't trigger onChange event 24 Sep 2013 00:20 #11172

does anyone have an idea on how I can get date fields to trigger an event when the popup calendar changes the value of the form field holding the date?

I have an JavaScript event handler set up that works if I manually edit the date using the keyboard, but when I use the popup and select a new date with a mouse click the change event is not triggered.

If anyone can lead me in the right direction on how to solve this I'd really appreciate it!

Thanks!
Dave

Please Log in or Create an account to join the conversation.

Date field doesn't trigger onChange event 10 Oct 2013 00:18 #11362

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
I have fixed an issue here, because I got the contary : submitting the form when changing the month.
When the text in the input is changed it was submiting the form. Not good and fixed.

Now, you tell me when you click on a day, it is not submitting ?

To benefit this functionality, you must activate the 'submit on change' option on the filter.

What to say more ? I did not tested this issue on Internet Explorer.
Do you have JS errors ?
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

Date field doesn't trigger onChange event 11 Oct 2013 11:07 #11371

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Fixed.

It was missing the dateFormat in the XML file.
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.081 seconds

Awards for the best Joomla app. This product is gonna win an award for this amazing job. Cook Self Service is the the best application from all over the Joomla universe ! It brings Joomla to a professional level really advanced for developers. It is a real fun to develop with it. The ACL part and security checks implementation are just... so much hours saved. I can now concentrate myself more on the design part and the creative works. Thank you so much. Guys I offer you all my congratulation ! Keep up the works because Joomla is needing it to increase the quality of extensions availables on the JED. I also learned a lot because I can see how to code at the proper place and I found all my answers reading the forum.
lack_hanson (JED)
          

Get Started