on 02-15-2007 4:58 PM
hi to all:
I am developing an adobe form that is filled up by information form a RFC. Some of these infomation needs to be displayed on tables; so these tables grow dinamically. The thing is that i placed a field at the end of each column to store the sum of the values of each column´s fields. I was thinking in using Javascript for this. I´ve been looking in forums for these specific topic but i haven´t find a guide for my problem. Can anyone give some help or code for this, i will apreciate it a LOT!
thanx,
Cesar R.
Honduras
hello,
Is the number of fields in table grows dynamically or number ofrecords grows dynamically.
Could you please let us know the adobe designer version.
pavan meda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Do as below.
Design the hierachy as below in the body page.
Table subform
|---Header subform
|---Data subform
|---Footer
In the table 3 fields (field1, field2, field3)are there and you have to calculate totals for field2 and field3.
Place 3 fields ( total1 , total2, total3 ) in the subform footer and give binding as none.Change the field type of total2 and total3 as of field2 and field3 respectively.
Write the below script on total2 and total3 on form ready and in the formcalc.
$ = Sum($record.table.data[*].field2) -
> on total2
$ = Sum($record.table.data[*].field3) -
> on total 3
<b>$record.table</b> is biding of table.
pavan
Hi Pavan,
I am facing the problem in data subform where it should loop and multipal records should get printed. The only first record get printed what could be the prob?
Setting for the form is below.
1) From -> Type list has been set to -> Flowed Content
2) From -> Flow Direction list has been set to -> Table Row
Please throw some light.
Regards,
Bhawanidutt
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.