Hi everyone;
I have 2 pages :
- PG1 = normal page, that contain P1_ID_FOLDER item
- PG2 = modal page that contain P2_ID_FOLDER item, to get the entered value in PG1

My need :
- To pass entered value of P1_ID_FOLDER into P2_ID_FOLDER item of PG2 modal page.
I already did a lot of attempts but no results, like:
- Using DA on click ADD_SUB_FLD button, as :
window.open("f?p=&APP_ID.:2:&SESSION.::NO::P2_ID_FOLDER:" + v(P1_ID_FOLDER) + ,
"Details","dialogWidth:1000px;dialogHeight:600px");
declare
v_url varchar2(1000);
begin
v_url:=APEX_UTIL.PREPARE_URL(p_url => 'f?p=&APP_ID.:2:&APP_SESSION.:::2:P2_ID_FOLDER:' || :P1_ID_FOLDER,
p_checksum_type => 'SESSION') ;
return v_url;
end;
OR
BEGIN
return 'f?p=' || :APP_ID || ':2:' || :APP_SESSION || ':::2:P2_ID_FOLDER:' || :P1_ID_FOLDER ;
END;
- Using Redirect to URL action on click ADD_SUB_FLD button, as :
f?p=&APP_ID.:2:&APP_SESSION.:::2:P2_ID_FOLDER:V(P1_ID_FOLDER)
OR
f?p=&APP_ID.:2:&APP_SESSION.:::2:P2_ID_FOLDER:&P1_ID_FOLDER.
You can see demo of the problem on apex.oracle.com with this credentials:
Workspace: ws_formation
Username: asoukaina
Password: s@boulah123
I used the Application 104381 - Relational TF BTN
NB: Version of apex production 5.1.0
Thank you for help.