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.059 seconds

I must say that I'm leaps and bounds ahead of where I would have other been with J2.5 with full thanks to the folks on this forum and specifically to Cook so you'll never hear me complaining.
gdpodesta (Forum)  

Get Started