My Oracle Support Banner

Prevent inputs of special characters (Doc ID 492874.1)

Last updated on NOVEMBER 22, 2019

Applies to:

Siebel Tools - Version [16180] and later
Oracle Solaris on SPARC (64-bit)


Is it possible to prevent inputs of special characters (like %?!...) with High Interactivity applications?
It seems that in javascript, this can be done using the "onkeypress" event, associated with some other functions.
In example:

function numCheck(e)
keyEntry = !isIE? e.which:event.keyCode; if((keyEntry < '48') || (keyEntry > '57')) {return false; }
<textarea cols="25" rows="5" onkeypress="return numCheck(event)" >Enter only numeric values.

As you can see, in this way, even if the key is pressed, the character is not written down in the input field.
Is it possible to implement this functionality in Siebel Applications?




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.