Copy link to clipboard
Copied
I am using Adobe DC. I am trying to enter a simple equation in the "Simplified field notations:" feature under the Calculate tab in my text box named, "OverallPercentage" (without the quotes). I click the radio button for Simplified field notation: then click the edit button and the "Create and edit javascripts" window pops up. I enter the simple mathematical operation, "GrandTotal/488" (without the quotes). I click the "OK" button and the Calculate tab reappears with the Simplified field notation box empty and the radio button unselected but the "Value is not calculated" radio button is selected (this is the default configuration). It's though my inputs were completely ignored. I do not know what is going on! I have researched this problem and cannot find any answers and I am following all of the many tutorials to accomplish this seemingly simple task. Does anyone know what I am missing?
[Adobe is the COMPANY name... but there is a program named Acrobat DC]
[Moved from non-technical Forum Lounge to specific Program forum... Mod]
Copy link to clipboard
Copied
Try putting a space between the values and the operator. If that doesn't work just use a custom calculation script:
event.value = Number(this.getField("GrandTotal").value) / 488;
Copy link to clipboard
Copied
Try67: Thank you for your response. I tried your suggestion but I got the same result. I also got the same result when I tried to enter anything into the custom calculation box. Fortunately, Adobe DC crashed. When I restarted it and brought in the form I was editing, the Simplified field notation accepted my simple equation "GrandTotal/488" (without the quotes) and everything worked the way it supposed to.
I should have figured (based on multiple digital experiences) that a lot of problems are solved by re-booting, power-cycling, shutdown and re-start, etc., ad nauseum. I call it "defibrillating"; or, using the defibrillation technique.
Thanks again!
Copy link to clipboard
Copied
Many times such problems can also be solved by deleting the field, saving and closing the file, and then re-opening it and re-adding the field...
Copy link to clipboard
Copied
Good to know! Thanks.
Copy link to clipboard
Copied
I fought with this same problem for a while and found a bizarre workaround...
If I opened the field properties by going to the Tools Pane field list, right-clicking and selecting "Properties...", I had the same behavior as above.
But... if I accessed the field properties by double-clicking on the field in the form, I was able to use the exact same dialog to enter the calculation.
Copy link to clipboard
Copied
Thank you so much for posting the "workaround"! I knew the Simplified Field Notation worked, because I have an old form I'd used it in. But for the life of me couldn't figure out why it didn't accept my entry this time, even though it was EXACTLY the same as the old form.
This is CERTAINLY a bug, as there is no reason the Properties field should not act the same way no matter how it was opened.
Thank you!
Copy link to clipboard
Copied
You should report it here: Feature Request/Bug Report Form
Copy link to clipboard
Copied
Thanks! I submitted it as a Bug today.
Copy link to clipboard
Copied
7 years later this is still a problem and I spent an hour trying to figure it out until I came upon your solution.
Pretty mad, not gonna lie. But thank you very much for posting this solution
Copy link to clipboard
Copied
I banged my head on this wall forever...finally I asked my hubby (who is a SharePoint developer) to look at the form with me... Turns out the problem is that there should be an okay button in the JavaScripts dialogue box, and mine didn't show. There might be other things you could do (I read a forum that suggested changing the size of Adobe's native JavaScript editor box), but what the hubby and I did was switch to the Notepad as the JavaScript editor.
In Adobe choose edit, then preferences, highlight JavaScript on the left, and then click the "Use External Javascript Editor" Button, in the windows explorer dialogue box, locate your C drive>Windows folder>System32 folder>then scroll down beneath the sub folders to the notepad and highlight it, and click open), I then returned to the simplified notation option in the forms field properties, and entered my simple notation (Field1-Field2), and then chose save in the notepad editor in the file drop down menu, and GLORY HALLELUJAH...it worked.
Hope this helps.
Copy link to clipboard
Copied
Make sure you're signed in to your Adobe account.
Copy link to clipboard
Copied
This has nothing to do with the issues discussed here.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now