1. Overview In this we are going to see about how to check the character in the numeric page item on lose focus and also going to check the decimal length on lose focus. 2. Technologies and Tools Used The following technology has been used to achieve the same. Ø Java script` Ø Oracle Apex 22.1 3. Use Case There will be automatic validation for checking the number field but it will work only on clicking the button but we can also show the error on lose focus of the item when entering the characters in to it by using the below method.And also in this we are checking length of the decimal numbers in the lose focus. Architecture. Step 1: Create new page in oracle application and create a new region Step 2: Create a new page item as number field. Step 3: Create a dynamic action select javascript code and paste the following code. CODE : var a = $v(‘P3_NUMBER’); if(isNaN(a)) { apex.message.clearErrors(); if ( $(“#P3_NUMBER_error”).length == 0) { apex.message.showErrors([ { type: “error”, location: [ “page”, “inline” ], pageItem: “P3_NUMBER”, message: “Number Must be a Numeric.”, unsafe: false } ]) }…
Read More