Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Drop and down / list box manipulation Options

Avatar

Former Community Member
Hello!



I need help, if possible, with a problem:



a) I have a drop and down list and a list box which is display the

selections from the drop and down list.



listbox1.addItem(xfa.event.newText);



I need to be able to remove from the drop and down list at the same

time the selections added to listbox1. If I select "item 1" in drop

and down list and it goes to Listbox1 I need to remove it from drop

and down to avoid being selected twice.



Beside that I need to know if there's a method to actually increase

dynamically the size (height) of the listbox1 based on the number of

items added to it. I don't want to use scrollbars because the form

will be printed and all items selected should be visible.
1 Reply