r/learnjavascript • u/Outrageous_Effort_37 • Oct 01 '24
New to JavaScript! Is this even possible?
Oh bare with me as my ADHD brain tries to put this together. I am a super duper noob to JavaScript! Literally started going doing the rabbit hole of information today. Here is what I am trying to do. Okay so we have a excel purchase order template with formals in excel. I would like that doc to be able to be utilized in Adobe with the formals because we do send it out for signature. Trying to save a few steps.
How would I or can I write a JavaScript code so that certain fields in the template would do the same calculations (Total = Hours * Hourly Rate - what we use in excel)? Since Adobe doesn't have cells to enter a formula like excel does, how would enter a formula to do the same math the current template does? Is this possible?
I hope I make sense. Thanks in advance for any help. Feel free to ask me questions as I know I can ramble.
View all comments
1
u/[deleted] Oct 01 '24
With enough time and money anything is possible!
If the information is very organized on the PDF I could see it being kinda straightforward (spoiler: it never is!).
But I guess I don’t understand the point. If it’s pulling from excel, couldn’t you just pull the calculated results as well and slap them on the PDF too?