Skip to main content
izobooster
Participant
April 18, 2021
Question

Acrobat DropDown Limit Characters

  • April 18, 2021
  • 1 reply
  • 694 views

I create a drop down menu with option to allow user to add custom text.

How to add limit characters to drop down text field?

 

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
April 18, 2021

As the custom Keystroke event enter the following code (replace 10 with the actual number of characters that you want to allow, of course):

 

if (AFMergeChange(event).length>10) event.rc = false;

 

It's possible that after you enter it the code will "disappear". Don't worry, it should still work nonetheless.

izobooster
Participant
April 18, 2021

Works!

I really appreciate your help ))