I am newbie in creating PDF forms.. I recently created a form patterned with Purchase Order Form sample that came along with the LiveCycle installation.. I can say I am doing good as I was able to create a functioning form with hours of triasl and errors. Now, I got stucked with my table calculations.. The first column is a dropdownlist with refreshment Items, the 2nd is the quantity column, 3rd is the unit price column and last is the amount column. After so many days and hours of trying to make the unit price display automatically after you select an item. I am not an expert in scripts or in PDFs for that matter.. Can somone please help me with my problem.. My dropdownlist is populated by script but by the object pallete in LiveCycle.
check this thread in AUC forums.
It's may be axactly what you're looking for.
You also can download a sample form I made for this thread under:
Hi thanks for the reply... I practically copied the script from the form you made, I removed the other array... But I can't make it work, been working on it since you replied on this thread. Please check my script below and find out what or where is the error.
var Itemdesc = new Array(
var MyUnitPrices = new Array(
for (var i=0; i < Itemdesc.length; i++)
function PN_ReadOut(Item_Alias, Price_Alias)
for (var i = 0; i < Itemdesc.length; i++)
if (Itemdesc[i] == Item_Alias)
Price_Alias.rawValue = MyUnitPrices[i];