Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Interactive Adobe Forms

Former Member
0 Likes
911

Hello Experts,

Being new to adobe forms, we have a requirement such that an adobe output is displayed with item level information in a table.

We have columns such as Item number, material , unit price, total price and so on in the table.

Now that we have developed the form, user has requirement as, when unit price is changed in an item accordingly total price and the net price of total items should be changed automatically in the output.

Could somebody suggest how to achieve this in interactive adobe?

Regards,

Ramya

6 REPLIES 6
Read only

Former Member
0 Likes
881

This message was moderated.

Read only

Former Member
0 Likes
881

Hi Ramya,

You can achieve this requirement using Web Dynpro.

Just Google it. J 

http://scn.sap.com/community/interactive-forms-by-adobe/blog/2013/05/28/adobe-interactive-forms-with...

SuDEESH

Read only

0 Likes
881

Hi Sudeesh,

Thanks for the link! It was quite informative but am trying to achieve it just with script editor. Something like

Table1.Row1.Name.rawValue  -where current values is passed.

And moreover even if i get current vlaue like this say Unit price, how to get the total for all items.

Read only

0 Likes
881

Hi Ramya,

Sorry for the delay!

Check this code.. I hope this will work out..

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 == "PRICE") {
total = total + fields.item(i).rawValue;
}
}
this.rawValue = total;

Add this code in the total area..

With regards,

SuDEESH


Read only

0 Likes
881

Thanks Sudeesh!!

Read only

0 Likes
881

No need of Thanx Friend.. Enjoy the life.. Just sharing what I know..

Hope your issue got solved . If it so, Please close the thread

SuDEESH