Buy Now
Sign in

Stop events

emmexx , December 13 2017
Answered
E
emmexx
Is it possible to stop the events of an element? Or is there some unwritten rule about the behaviour of CF and CC for hidden or disabled elements with events?

Thank you
maxx
admin
Hi maxx,

How to "stop" them ?

If you need to disable the field events then it will need some custom javascript code call.

Best regards
Max
If your main question got answered then please mark the answer using the button!​
​Please let us know if you have any problems with the new forums text editor, we appreciate your feedback!
E
emmexx
"admin":


How to "stop" them ?


I meant stop firing.

"admin":

If you need to disable the field events then it will need some custom javascript code call.


I did something similar.

My question was a little bit more subtle: if a field is hidden or disabled and its value changes (by code), are its events fired anyway?
The answer seems to be yes but I'm not sure it's always the best thing to do.

In my project I reload records into the form and events are fired as fireworks, debugging is a mess and not knowing exactly what is the expected behaviour is not helpful.

Thank you
maxx
admin
Hi maxx,

I will try to add a new feature to switch the events on/off in a future update, but at the moment you can not do this, any solution will need some custom js code to modify the fields data on the page.

Best regards
Max
If your main question got answered then please mark the answer using the button!​
​Please let us know if you have any problems with the new forums text editor, we appreciate your feedback!