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 Answer 1

2

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .