Hello,
I’m trying to use a data entry mask, in version 2012 I used the inputmask as follows:
1-Include in the template / jquery / inputmask …
2-Include in Server Events-> Global-> All Pages-> Page Head ew_AddClientScript (“jquery / inputmask.js”);
3-In Client Scripts-> Table-Specific-> Add / Copy Page-> Startup Script $ (“# x_field”). Inputmask (“99999-999”);
But I managed to make it work in the 2020 version, I understood that I have to put the Inputmask in Composer Packages, but I am not successful.
What is the correct method?
My trial period is already running out.
thankful
Kpta wrote:
ew_AddClientScript (“jquery / inputmask.js”);
You need to remove “ew_”, see Migrating to v2019/2020: https://discourse.hkvstore.com/t/migrating-to-v2022/655/1
Unsuccessfully.
One question: should I inform the full path inputmask.js?
Ex .: vendor \ robinherbots \ jquery.inputmask \ dist \ inputmask.js ???
Yes. Press F12 → Console / Network to check if the script is loaded.
Thanks