Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Drop and down / list box manipulation Options

Avatar

Not applicable
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

The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now