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

Create (50) Character Limit Per Line on Multi-Line Field?

Community Beginner ,
May 01, 2019 May 01, 2019

Hi Adobe friends,

In reference to Adobe Acrobat DC:

I have a free text field that allows for up to 6 lines, but I only want the field to allow users to enter a maximum of 50 characters on each line.

Is this possible through a custom script, and if so, how would I go about doing this?

Thank you for any and all assistance!

TOPICS
PDF forms
2.1K
Translate
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
1 ACCEPTED SOLUTION
Advocate ,
May 01, 2019 May 01, 2019

This would need some logic in the Validate (maybe Keystroke) event in the field, calculating line breaks.

A quick and dirty workaround would be using a fixed width font, and set the field width accordingly.

View solution in original post

Translate
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
Advocate ,
May 01, 2019 May 01, 2019

This would need some logic in the Validate (maybe Keystroke) event in the field, calculating line breaks.

A quick and dirty workaround would be using a fixed width font, and set the field width accordingly.

Translate
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 Beginner ,
May 02, 2019 May 02, 2019
LATEST

The workaround works! (Is that redundant?) Thank you!

Translate
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