This is my first time trying to use a custom control on a model driven app and I'd appreciate some help
I'm trying to use the Input mask custom control on a main form OnChange event to validate data entry into a field so that only the number format 0,0,0,0,0, ,0,0,0,0,0 is allowed (e.g. 12345 12345)
However when I try to enter data into the field I keep getting an error:
Web resource method does not exist: OnChange
Session Id: (Removed)
Correlation Id: (Removed)
Event Name: onchange
Web Resource Name: cc_MscrmControlsDOTInputMaskDOTInputMaskControlFORWARDSLASHInputMaskControlDOTjs
Solution Name: CustomControlsCore
Publisher Name: microsoftdynamics
Time: Sat Oct 10 2020 16:55:57 GMT+0100 (British Summer Time)
I think the problem is I don't really know what I should be setting the "Function" field to in the Configure Event window, so I've just tried to use a few different things I've found online but they all give the same error
I haven't been able to find any documentation on this custom control (InputMaskControl.js) otherwise I'd be able to make better sense of it
Here's how I've got the field and event configured at the moment


Thanks for reading