how do I change pl/sql code to create a multi select instead of list box

I have the following code:

htp.p('            <td valign="top" align="left">');
htp.p('            <div id="org_users2">');
htp.p('            <select  class="form_field_select_400" id="item_assigned_to_id2" name ="item_assigned_to_id2');
htp.p('             <option  />');
htp.p('              </select>');


I want to format the web application as a list box. How would I modify this code so that it appears as a list
Can I use <div class="listbox-area">
sikyalaSenior Database AdministratorAsked:
Who is Participating?
 
Ryan ChongConnect With a Mentor Commented:
by the way, to allow multiple selection, try add multiple property.

htp.p('            <td valign="top" align="left">');
htp.p('            <div id="org_users2">');
htp.p('            <select size='10' multiple class="form_field_select_400" id="item_assigned_to_id2" name ="item_assigned_to_id2');
htp.p('             <option  />');
htp.p('              </select>');

https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_select_multiple
0
 
Ryan ChongConnect With a Mentor Commented:
try add size property there

htp.p('            <td valign="top" align="left">');
htp.p('            <div id="org_users2">');
htp.p('            <select  size='10' class="form_field_select_400" id="item_assigned_to_id2" name ="item_assigned_to_id2');
htp.p('             <option  />');
htp.p('              </select>');
0
 
Ryan ChongCommented:
do you need further clarification here?
0
 
Ryan ChongCommented:
as suggested.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.