Application Development Blog Posts
Learn and share on deeper, cross technology development topics such as integration and connectivity, automation, cloud extensibility, developing at scale, and security.
cancel
Showing results for 
Search instead for 
Did you mean: 
Jigang_Zhang张吉刚
Active Contributor

Adobe Forms provides an extensive and flexible set of functions that can achieve complex and stunning effects by JavaScript. It makes many challenging requirements impossible to possible at SAP, like dynamic paragraph alignment/font type/font size for different countries in one single form.

Many articles already document the details for various requirements, but what if the user wants one special task that no available javascript can be used as a reference? Here is one reference website for JavaScript used by Adobe Forms:

cover.jpg

Adobe LiveCycle ES4 Designer 11 Scripting Reference

The search button at the top left is not very friendly as too many results which not relevant to the JavaScript we are interested in, maybe it's used for the Adobe industry instead of SAP specific. But the Scripting Properties are extremely useful and provide examples of JavaScript and FormCalc along with possible values for those properties. For example, the 'Highlight' specifies the visual appearance of a button when activated by a user.

01.jpg

Also Scripting Objects explains common objects like 'para' specifies the default paragraph and alignment properties to be applied to the content of an enclosing container.

02.jpg

Properity like hAlign is key to manipulating text alignment by left/center/right/justify.

Btw, please be cautious that I found one Error for vAlign which is used for the vertical text alignment. Hope this is the only typo on this website😉

03.jpg