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

Is it possible to dynamically insert text from one field into another field selection

New Here ,
Oct 19, 2016 Oct 19, 2016

I am using Acrobat XI Pro and not Live Cycle

The goal would be to take an entry from a text field [Name] and drop it into the middle of some text that is generated by one of multiple selections from a pull down selector. A huge bonus to to actually generate formatted text, multiple lines, specific font and size and flush left.

Textfield #1: [Name]

List Selector or Pulldown List #2  with these selection options

a) Would like [Name] to join

b) Invite [Name] in the future

c) Exclude [Name] from list

Were are creating a printable form from the above inputs so formatting is critical.

Thanks!

Message was edited by: Edward Franklin

TOPICS
Acrobat SDK and JavaScript , Windows
281
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
LEGEND ,
Oct 19, 2016 Oct 19, 2016

Yes, it's certainly possible. If you use a multiline text field that set to allow rich text formatting, you can have your bonus. Read up on Spans in the Acrobat JavaScript documentation for more info.

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
New Here ,
Oct 19, 2016 Oct 19, 2016

George, thank you for the speedy and thoughtful reply. Just to be clear, I would be able to make a selection from a pulldown and it could then populate a multiline, RTF formatted field with a dynamically inserted value from another field (text field) with that selected text from the Pulldown?

Sound like Javascript to the rescue if yes!

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
LEGEND ,
Oct 19, 2016 Oct 19, 2016

Yes, you can set the rich text field value to anything you want, formatted as you like. Post again of you get stuck.

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
New Here ,
Oct 19, 2016 Oct 19, 2016
LATEST

Sent you a direct message. Cheers

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