Dear All,
To Enable / Disable Text Item I am using the following function which is disabling as required.
Application Express 4.1.1.00.23
function EDTextItem (pCol) {
var v_usr_system = $v('P0_USR_SYSTEM_H');
var v_cty_system = $v('P2_CTY_SYSTEM_FLG');
var v_cod_system;
var elms = document.getElementsByName(pCol);
var elms_cod_system = document.getElementsByName('f07');
for (i=0; i<elms.length; i++) {
if (v_cty_system == 1 && v_usr_system == 0) {
elms.disabled = 'true';
}
else {
v_cod_system = elms_cod_system[i].value;
if (v_cod_system == 1 && v_usr_system == 0) {
elms[i].disabled = 'true';
}
else {
elms[i].enabled = 'true';
}
}
}
}
1. I want to Enable or Disable a radio button group for a tabular form, so how can I achieve the same?
Also I would like to specify that my Radio Button Group is based on Named List of Values.
2. For the disabled Items, disabled using the above code, When I save, the value for disabled Items are saved as null in the database.
Please help.
Thanks & Regards
Arif Khadas
Edited by: Arif Khadas on Mar 7, 2012 8:42 AM