Home » Developer & Programmer » Application Express, ORDS & MOD_PLSQL » DISABLE FORM IN ORACLE APEX (3.2..1)
DISABLE FORM IN ORACLE APEX [message #427820] Mon, 26 October 2009 00:44 Go to next message
sohan
Messages: 11
Registered: October 2009
Location: India
Junior Member
HI ALL,

I M TRYING TO DISABLE THE FORM IN APEX WHEN A JAVASCRIPT IS BEING FIRED. I WANT THAT THE FORM SHOULD BE DISBALED AS SOON AS THE ALERT MSGBOX OF THE JAVASCRIPT IS BEING FIRED SO THAT THE USER IS NOT ALLOWED TO DO ANY OPERATIONS ON THE FORM, AND AS SOON AS HE RESPONDS TO THE ALERT HE/SHE IS BEING REDIRECTED TO THE HOME PAGE..
CAN ANYONE HELP ME TO RESOLVE THIS PRBLM..

REGARDS,
SOHAN.
Re: DISABLE FORM IN ORACLE APEX [message #427834 is a reply to message #427820] Mon, 26 October 2009 02:32 Go to previous messageGo to next message
abo_mahmoud
Messages: 31
Registered: May 2006
Location: UAE
Member
Try including this script to all your items .....
<script type="text/javascript">
function disableItems(){
	var p1_item = document.getElementById('P1_ITEM');
            p1_item.disabled=true;
.
.
.
.
.
.
.
.
}
</script>


and call this function.
Re: DISABLE FORM IN ORACLE APEX [message #428141 is a reply to message #427834] Tue, 27 October 2009 06:18 Go to previous message
sohan
Messages: 11
Registered: October 2009
Location: India
Junior Member
Well thanks abo_mahmoud for your reply.
The query has been solved using a javascript and a CSS.
Previous Topic: Up and Down Arrows for the current sort are missing on my Sortable Column Headings
Next Topic: how to write code in apex
Goto Forum:
  


Current Time: Wed Dec 07 04:39:20 CST 2016

Total time taken to generate the page: 0.10065 seconds