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

Automatic flow of text possible in combination with form text field

Guest
Jun 28, 2016 Jun 28, 2016

Hi

We would like to know whether it's possible to align text automatically with a form field that can contain different amounts of characters.

For example:

We have a form with a currency text field at the ending of an alinea of text. The period to mark the end of the sentence should always be printed just behind the currency field. For the moment, the period character has a fixed place, just outside the reach of the currency field. This doesn't look right when the currency field contains only 2 characters (because of the whitespace).

Is there a solution to this problem?

Thanks.

TOPICS
Acrobat SDK and JavaScript
510
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

correct answers 1 Correct answer

Community Expert , Jun 28, 2016 Jun 28, 2016

It's only possible if the period text is also a part of a text field, preferably the same one. You can use a custom validation or format script to automatically add that text to the user's text, assuming it's a fixed value or one that you can know in advance. If it's also a value that is entered by the user then it becomes almost impossible to do it smoothly.

Translate
Community Expert ,
Jun 28, 2016 Jun 28, 2016

It's only possible if the period text is also a part of a text field, preferably the same one. You can use a custom validation or format script to automatically add that text to the user's text, assuming it's a fixed value or one that you can know in advance. If it's also a value that is entered by the user then it becomes almost impossible to do it smoothly.

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
Guest
Jun 28, 2016 Jun 28, 2016
LATEST

Thank you for the quick response. We're going to adjust the value of the text field so the period is included.

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