fiorilli Posted April 4, 2017 Share Posted April 4, 2017 Hi, In our system we have the product code calculated as follows. First four digits = industry code Second four digits = department code Third four digits = category code Last four digits = product code Let's assume that the sport category is the code "1234". In system search screens, the user can search for all products that belong to the sport category by simply filling "1234" in the third four digits code of the product code. If the user clicks with the arrows to the right, he can enter the third four digits of the product code without problems. But sometimes we need to block the user's typing and set the third four-digit code of the product code at run time. We tried both the traditional Edit.Text method and JavaScript. Neither of us was able to fill in part of the product code without filling in the beginning. Is it possible to fill only part of the code? How can we do that? Mask.rar Link to comment Share on other sites More sharing options...
Marlon Nardi Posted April 4, 2017 Share Posted April 4, 2017 https://store.falconsistemas.com.br/?filter=FSMask Link to comment Share on other sites More sharing options...
fiorilli Posted April 5, 2017 Author Share Posted April 5, 2017 Obrigado por responder Marlon, Muito interessante seus componentes de máscara, mas precisamos utilizar o "inputmask" nativo do UniGui. ------------------------------------------------------------------------------------------------------------- Thanks for replying Marlon, Very interesting your mask components, but we need to use the native "inputmask" of UniGui. Link to comment Share on other sites More sharing options...
allexirlley Posted June 5, 2017 Share Posted June 5, 2017 Hi, In our system we have the product code calculated as follows. First four digits = industry code Second four digits = department code Third four digits = category code Last four digits = product code Let's assume that the sport category is the code "1234". In system search screens, the user can search for all products that belong to the sport category by simply filling "1234" in the third four digits code of the product code. If the user clicks with the arrows to the right, he can enter the third four digits of the product code without problems. But sometimes we need to block the user's typing and set the third four-digit code of the product code at run time. We tried both the traditional Edit.Text method and JavaScript. Neither of us was able to fill in part of the product code without filling in the beginning. Is it possible to fill only part of the code? How can we do that? txdbTelefone = TUniDBEdit txdbTelefone.JSInterface.JSCode('$("#' + txdbTelefone.JSName + '_id-inputEl").inputmask("(99) 9999-9999");'); Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now