I'm having a similar problem. I have three dropdowns. The 2nd and 3rd dropdown are populated based on what's selected from the first. The 2nd dropdown is listing nothing. Here is the code:
begin
htp.print('
');
htp.print('
');
htp.formopen('doctracker.document_tracker.newdocsave', 'POST', cattributes => 'name="chris"');
htp.print('
');
htp.print('');
-- htp.tabledata('Tein:');
-- htp.tabledata(htf.formtext('lp_tein',8,8));
htp.print('');
PROCEDURE teps_teins_pop(lc_teps_deskcode IN VARCHAR2 DEFAULT NULL) IS
begin
htp.print('
');
END teps_teins_pop;
');
htp.print('Deskcode:');
htp.tabledata(htf.formselectopen(cname =>'lc_teps_deskcode',cattributes=>'STYLE="width:100px;" align="left" onChange="document.all.select_pop.src=''doctracker.document_tracker.teps_tein_pop?lc_teps_deskcode='' +document.chris.lc_teps_deskcode.value"') ||
htf.formselectclose);
htp.print(' |
');
htp.print('Tein:');
htp.tabledata(htf.formselectopen(cname =>'lc_tein',cattributes=>'STYLE="width:100px;" align="left" onchange="document.all.select_pop.src=''doctracker.document_tracker.teps_phase_pop?lc_tein='' +lc_tein.value"') ||
htf.formselectclose);
htp.print(' |