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

Although I found this tool some time ago I just started learning experimenting and building this first component on Monday and now on Thursday afternoon it's already online. Although I already had a working version done with another tool this is much easier to build and at the end you have the freedom to own your own component. Once you know how to use Cook you will boost your productivity as the learning curve is really moderate compared to many other tools.
Giori (Forum)

Get Started