Copy link to clipboard
Copied
How would I go about creating some text input box's and creat a sentence using the data entered?
So at the top of my form I would have a few boxes such as: name, date, location.
The sentence would be standard across so it would end up as:
I, (name) on (date) was at (location).
I, Jon Smith on 1/1/2000 was at time square.
Is this possible and if so where would I even begin?
Copy link to clipboard
Copied
Hi there
Hope you are doing well and sorry for the toreuble. As described you want to create a PDF form with some text boxes for users to enter data.
Please check out the steps provided in the help page https://helpx.adobe.com/acrobat/using/create-form.html and see if that works for you.
Regards
Amal
Copy link to clipboard
Copied
In text field where you want to show sentence, as 'calculation script' use this code:
var n = this.getField("Name").valueAsString;
var d = this.getField("Date").valueAsString;
var l = this.getField("Location").valueAsString;
if(n == "" || d == "" || l == "")
event.value = "";
else event.value = "I "+ n +" on "+ d +" was at "+l;
Change field names and text as you wish.
Let me know if you need additional help.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more