JavaScript API for KTA Forms
Article # 3045857 - Page views: 418
Issue
Is there a JavaScript API to provide access to controls and variables on KTA forms?
Solution
Yes there is an API to access form controls and variables as of KTA 7.9. The KTA 7.9 help topic JavaScript action shows the available functions.
Prior to KTA 7.9, there is no supported way to use JavaScript to interact with form controls. While it is possible to find element IDs or identify structure patterns just like on any web page, these are likely to change between product versions, and there is no documentation or technical support guidance that can assist with this.
The API introduced in KTA 7.9 is the only approach that is supported and that will have backwards compatibility for upgrades to subsequent versions.
Level of Complexity
Moderate
Applies to
Product | Version | Build | Environment | Hardware |
---|---|---|---|---|
KTA | 7.9+ |
Article # 3045857