Hello, lets say I have table "orders" where I use jquery maskedinput for field "phone" (hkvforums.com/viewtopic.php?f=4&t=33719). Another table "orderDetails" has field "orderId" with "Allow add" option (adding records to table "orders").
I added code to table "orders": Client Scripts > Table Specific > Add/Copy Page > Startup Script
$(document).ready(function(){
$("#x_phone").mask("+7(999) 999-99-99");
});
If I add record to table "Orders" then it works correctly but if I add record from table "orderDetails" using "Allow add" option then maskedinput doesn't work.
I also tried to add code to: Client Scripts > Global > Startup Script
but it didn't change its behavior - works from "Orders" but not from "orderDetails".
Please advise how to solve. (v2024.8)