Masked Input

Hello everyone,

I have been trying to implement a mask on form fields (especially phone number) but jQuery plugin called “Maskedinput” is behaving weirdly.

When I try to give definitions it is not working but without definitions it is somehow working but with bugs.

This is my current code, I would like to have the mask that is indicated on the placeholder, but I need to give descriptions. Also, “*” is not working to define an alphanumeric value.

$(document).on('knack-scene-render.any	', function(event, scene) {
	$("#field_6").mask("+998 (99) 999 99 99", {placeholder: "+998 (##) ### ## ##"});
        $("#field_7").mask("********?*********", {placeholder: ""});

Below is the link to that application:

Is there any common issue with jQuery plugins on Knack or am I doing something wrong? The thing is, the plugin is working perfectly on different JavaScript environments.

I appreciate any help. Thank you so much