shawdown Posted June 1, 2018 Share Posted June 1, 2018 Hello, I need a 99999-999 format for the user to enter their zip code. In the same field, I also need a button so he can select the zip code, if he prefers. To do this, you would have two options: InputMask in uniDBComboBox or Triggers in uniDBEdit. However, neither is available. Any suggestion? Thank you. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 1, 2018 Share Posted June 1, 2018 Hello, Try this: ComboBox -> function afterrender(sender, eOpts) { $("#"+sender.inputEl.id).inputmask("99999-999") } Quote Link to comment Share on other sites More sharing options...
shawdown Posted June 1, 2018 Author Share Posted June 1, 2018 It works. Thanks!!! Quote Link to comment Share on other sites More sharing options...
mikromundo Posted July 23, 2019 Share Posted July 23, 2019 How to REMOVE the mask before save to database ( with JS ) Quote Link to comment Share on other sites More sharing options...
belo Posted July 23, 2019 Share Posted July 23, 2019 Remove mask at runtime... UniSession.JSCode('$("#' + edtPesquisa.JSName + '_id-inputEl").inputmask("remove");'); Regards, Eduardo Belo Quote Link to comment Share on other sites More sharing options...
mikromundo Posted July 28, 2019 Share Posted July 28, 2019 Sorry...Thanks BELO...I talk to you in WhatsApp Group and forgot to answer here !!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.