Hi Experts,
I need to hide a row in adobe forms. If the Overall Discount(%) value in sales order is not present then the row will hide.
var Disc = xfa.resolveNodes("xfa.record.FormPurchaseOrder.PriceAndTax.PriceComponent[*]").length;
for (var i=0; i<=Disc; i++) {
var TypeWord = xfa.resolveNode("xfa.record.FormPurchaseOrder.PriceAndTax.PriceComponent["+ i +"].Description").value;
if(TypeWord == "Overall Discount (%)"){
this.rawValue = xfa.resolveNode("xfa.record.FormPurchaseOrder.PriceAndTax.PriceComponent["+ i +"].CalculatedAmount").value;
}
else
{
Design.tablesf.Table2.Row3.presence = "hidden";
}
}
Now the Discount value present in sales order also hide the Row.
Experts Please help.
Regards,
Sai
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
Thanks for your Reply.