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

Print ONLY the text portion of a dropdown list


Not applicable
Does anybody know if there's a way to set up a dropdown list so that the border and the arrow is visible on screen but invisible when printed out on paper(the contained text still needs to be printed)?


5 Replies


Level 10
Are you looking at only printing the selection that was made but not the borders and arrow that allow you to operate the dropdown?


Not applicable
yes paul, how would I go about doing that? thanks



Level 10
There is a preprint event that will run before the form is printed and a postprint event that will allow you to restore any changes that were made to the form for printing. So on the preprint event you will want to get rid of the caption (this is optional depending on your requirement). To access this property use this command:

DropDownList1.caption.value.text.value = "";

Now to get rid of the appearance of the boxes around the dropdown use:

DropDownList1.ui.choiceList.border.presence = "hidden";

Note that the dropdown arrow will not appear in a printout.

On the postprint event you will want to restore the settings that were there before so use these commands again:

DropDownList1.caption.value .text.value = "DropDown Caption";

DropDownList1.ui.choiceList.border.presence = "visible";


Not applicable
By setting the object's access property to be readOnly will also remove the arrow from the screen, the borders and caption will remain as is.

DropDownList1.access = "readOnly";