Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

[AEM Gems Webinar] Accelerating Experience Manager as a Cloud Service development with Rapid Development Environments

Javascript Help for Acrobat Form


Not applicable

Javascript Help for Acrobat Form. I have 2 fields. The first is LName, the 2nd is LNameCost. I want the user to enter their name in LName and have LNameCost populate with $249. Any thoughts for rookie?

So far I have in the top of the screen topmostSubform.Page1.LName: :exit: - (Javastript, Client) ------------------------

if (this.rawValue = Don't know what to put here?)


     this.parent.LNamCost.rawValue = "$249";


1 Reply


Level 4

Try using following script.

if (this.rawValue != null  || this.rawValue != "")


     this.parent.LNamCost.rawValue = "$249";


For similar kind of JavaScript examples, please visit following blog:

Adobe PDF Forms