Skip to main content
Participant
October 19, 2016
Question

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

  • October 19, 2016
  • 1 reply
  • 326 views

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

This topic has been closed for replies.

1 reply

Inspiring
October 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.

Participant
October 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!

Inspiring
October 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.