here is the sample for you to see how it works using the input text component (here it is called myInput). substitute myInput with the name of the component for each one. So you will have to have this code 3 times. For example in the code below add the three lines. Ypu can substitute more meaninful names for your input text. $("#dom_overlay_container").on("keyup", "#myInput1", myInput_change.bind(this)); $("#dom_overlay_container").on("keyup", "#myInput2", myInput_change.bind(this)); $("#dom_overlay_container").on("keyup", "#myInput3", myInput_change.bind(this)); https://drive.google.com/open?id=111BTvwJWBgSR5mIntrhqQnh75mpaiGfk the code is: if (!this.myInput_change_cbk) { function myInput_change(evt) { // change value here console.log(evt.target.value); var regex = /[^0-9]/g; evt.target.value = evt.target.value.replace(regex, ""); // End your custom code } $("#dom_overlay_container").on("keyup", "#myInput", myInput_change.bind(this)); this.myInput_change_cbk = true; }
... View more