3

I am interested in create a fillable PDF, for which I found This question which tells to use hyperref. But I am curious that if I have 2 number fields, A and B, and I want a third field to be a number field, but not where you write, but where it gives the result A+B. How would I go about doing it?

1

You can do this by using the calculate-option for a textbox in hyperref, which requires a JavaScript code. There is a solution in the following question, where there's also a discussion on a problem that can occur and its solution.

pdftex and javascript forms with automatic calculations

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.