Print Page | Close Window

Input field to change text field

Printed From: Foxit's Planet PDF Forum
Category: Lets Talk PDF
Forum Name: [Commercial] Adobe Acrobat
Forum Description: Discussion forum for all versions of Adobe Acrobat and Adobe Reader.
URL: http://forums.planetpdf.com/forum_posts.asp?TID=3962
Printed Date: 21 Jul 2019 at 9:44am
Software Version: Web Wiz Forums 11.10 - http://www.webwizforums.com


Topic: Input field to change text field
Posted By: bcdo
Subject: Input field to change text field
Date Posted: 10 Mar 2018 at 2:05pm

I have a pdf form I am creating where I want an input field to influence a text field. Lets say there is a input field that says

Name: FirstName

When it gets populated with input from the user, further down in the document, the value will change amongst static text. Such as:

"Today we can see FirstName driving down the street"

The text within the textbox will change accordingly to the value within the input field. I have tried multiple solutions using javascript, but I can not seem to get it correct. The static text around the input will have to adjust accordingly to the dynamic text, so that the length of the name does not matter.

Any ideas?




Replies:
Posted By: gkaiseril
Date Posted: 11 Mar 2018 at 9:53pm
Text fields with the same field name will assume the value of a field with the same name. Note this applies to Acrobat forms, which is very different from PDF forms created with LiveCycle.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.10 - http://www.webwizforums.com
Copyright ©2001-2017 Web Wiz Ltd. - https://www.webwiz.net