Copy link to clipboard
Copied
Hi All
Anyone able to help, I'd like to use or reference a fixed value so I can use it in a java calculation
I need to do this all in java, so my script needs to hold the value and I want to use it in some simple maths cals
This should be so easy but the material examples I am finding on the Net on Adobe pdf java is not helping me.
I been through Thoms video on Youtube and Iam still none the wizer
The line before, + "Admin $"+AF;
ends with a semi-colon. This is why it is not being shown, remove the semicolon
Copy link to clipboard
Copied
I already told you what was wrong with that code, but you insist going back to it without making the modifications we mentioned.
I'm also giving up. You need to either spend time learning basic JS syntax, or hire someone to do it for you. Good luck.
Copy link to clipboard
Copied
The line before, + "Admin $"+AF;
ends with a semi-colon. This is why it is not being shown, remove the semicolon
Copy link to clipboard
Copied
Thank you for having the patients to help, much appreciated.
Copy link to clipboard
Copied
Then you have a very basic misunderstanding what you did.
The getField method is used to access a form fields. If you're not trying to do that, then what are you trying to do?
What is this "AF" value?
Copy link to clipboard
Copied
+ "Admin $" + this.getField("AF").value;