on 06-14-2008 8:13 AM
hi gurus,
can anyone explain me abt javascript and formcal, i have use it in adobe forms.
example will be appricaiated.
Thanks and regards
D.sharma
Hi,
Go through this links:
http://help.adobe.com/en_US/livecycle/es/FormCalc.pdf
http://partners.adobe.com/public/developer/en/xml/formcalc_2.0.pdf
This code is to calculate the page total through JavaScript:
var fields = xfa.layout.pageContent(xfa.layout.page(this)-1, "field", 0);
var total = 0;
for (var i=0; i <= fields.length-1; i++) {
if (fields.item(i).name == "KWMENG") {
total = total + fields.item(i).rawValue;
}
}
this.rawValue = total;
This code is to calculate the grand total through FormCal:
sum(pag1.Table1.Row1[*].KWMENG[*])
go throug the help->adobe livecycle designer help.
Regards
Adil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.