Why won't the JavaScript used in AcroForms work with LC designer forms...isn't it just...JavaScript - all the same???. Even when you import a form design in Acrobat into LC, it warns you that the JavaScript needs to be edited/re-scripted.
The reason I bring this up is because the form filling App - PDF Expert - will accept JavaScript used in AcroForms, i.e.:
var f = this.getField("qty.0");
var g = this.getField("each.0");
if (f.value != 0)
event.value = f.value * g.value
else
event.value ="";
but it wont accept JavaScript used in LC designer:
this.rawValue = qty.rawValue * each.rawValue;
Sorry if this is a novice questions, but just trying to get an understanding.
Thanks,
S
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
Though we use Adobe JavaScript for both Acro forms and XFA forms some of the methods/functions will not work in LiveCycle and vice versa. Generally we won't use this.getField method in LiveCycle.
Here is a link for you that can provide some understanding.
http://partners.adobe.com/public/developer/en/acrobat/sdk/AcroJS_DesignerJS.pdf
Thanks,
Bibhu.
Views
Replies
Total Likes
Hi,
Though we use Adobe JavaScript for both Acro forms and XFA forms some of the methods/functions will not work in LiveCycle and vice versa. Generally we won't use this.getField method in LiveCycle.
Here is a link for you that can provide some understanding.
http://partners.adobe.com/public/developer/en/acrobat/sdk/AcroJS_DesignerJS.pdf
Thanks,
Bibhu.
Views
Replies
Total Likes
Bibhu, thanks for the info!
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies