Begin
Insert Into Visitor_info (
user_id,
login_datetime,
ip_address
) Values (
:app_user,
Sysdate,
owa_util.get_cgi_env('X-FORWARDED-FOR')
);
Exception
When Others Then
Null;
End;
Muhammad Abdul Qaium is a Database Engineer/Oracle Apex Developer/BI Developer (in Connecticut, USA) who is an Oracle Certified Cloud Architect Professional, OCI Autonomous DB specialist as well as Oracle Business Intelligence Foundation Suite 11g Certified Implementation Specialist with extensive expertise in Database design , PL/SQL, Oracle Apex, Microsoft SSIS, ETL, Power BI, Qlik Sense, BI Publisher, Jasper Report, OBIEE. Contact: qaiuminfo@gmail.com
1. Copy The Below Code to Page Function and Global Variable Declaration.
function validateNumber(event) {
var keyCode = event.keyCode;
var excludedKeys = [8, 37, 39, 46];
if (!((keyCode >= 48 && keyCode <= 57) ||
(keyCode >= 96 && keyCode <= 105) ||
(excludedKeys.includes(keyCode)))) {
console.log("alphabets are not allowed");
event.preventDefault();
}
console.log("keycode: " + keyCode);
}
2. And Copy the below function Calling on Item Custom Attribute.
onkeydown="return validateNumber(event)";
#Download Pyhton from here https://www.python.org/downloads/ #Download Python: #Click the “Download Python 3.x.x” button (the latest versio...