I am creating input box in Reactive App. Need to restrict space bar using javascript. Any one can please help me?
$(document).ready(function() {
$(window).keypress(function(event){
if(event.keyCode == 32) {
event.preventDefault();
return false;
}
});
Use this script on input onkeypress event
Hello
You can use a function , "Replace"
on input widget onblur property
SyntaxEditor Code Snippet
Replace(Text," ","")You can also refer the solution here :https://www.outsystems.com/forums/discussion/66174/remove-special-character-using-extended-properties-onkeypresss/
I hope this will help
Regards
Tousif Khan