Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
835
How to capture changes to WebNumericEditor via CSOM
posted

I am porting classic controls to 13.1, and am being challenged in capturing changes to the WebNumericEditor values.

With the old WebNumericEdit, I simply did a edit.addEventListener("ValueChange", ChangesMade);

With the new WebNumericEditor, I have tried edit.addClientEventHandler(edit, "ValueChange", ChangesMade);

However, the ChangesMade function does not get called.

Please advise.

Thanks...Steve

Parents
No Data
Reply
  • 49378
    Verified Answer
    posted

    Hi Steve,

    The event name in this case would be "ValueChanged" and the handler function name should be passed to the addClientEventHandler as a function:

    edit.addClientEventHandler(edit, "ValueChanged", "ChangesMade")


    Please let me know if this helps.

Children