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. 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") } Link to comment Share on other sites More sharing options...
shawdown Posted June 1, 2018 Author Share Posted June 1, 2018 It works. Thanks!!! 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 ) 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 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 !!! 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