• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Number of Characters in Dropdown List

New Here ,
Sep 27, 2024 Sep 27, 2024

Copy link to clipboard

Copied

Question re: Drop-down - character limit.    I have two drop-down menu items.  One is 276 characters with spaces and teh other is 694 with spaces.  

Question1: How can I increase the character spaces?  

Questoin 2:  How can I get the text to wrap.  

TOPICS
PDF forms

Views

182

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 23, 2025 Jan 23, 2025

Copy link to clipboard

Copied

1.  Make the field bigger or set the font size to auto.

2. Use the setItems method in the console with line breaks in the string.  Example:

this.getField("Dropdown1").setItems(["ABCDEFG\rHIJKLMNOP\rQRSTUV","AABBCC\rDDEEFF\rGGHHII"])

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 23, 2025 Jan 23, 2025

Copy link to clipboard

Copied

LATEST

You should be careful of adding line-breaks in a drop-down field. It's not a documented feature and will be buggy if the number of lines is not the same in all items.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines