How can I both remove a warning: JavaScript window message and maintain a formula?
Hello,
I'm working on a fillable pdf budget sheet. I want to add in formulas to calculate percentages. I found the code below to remove my "Warning: Javascript Window" issue from a previous forum article. I also want to add in the equation "AmountRentandFees/(TotAnnInc/12)". It works as a stand alone equation but it does not work with the code below. Is there a way that I can use both?? I'm not JavaScript savvy. Any simple ideas people may have would be greatly appreciated! Thanks!
Pat
Remove warning:JavaScript window message from dialog (JavaScript)
var dialogTrust = app.trustedFunction(function()
{
app.beginPriv();
var data = {
description: { name: "Test Dialog", elements: [
{ name: "Hello World", type: "static_text", },
{ type: "ok", },
] } };
app.execDialog(data);
app.endPriv();
});
