If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Threaded View

Checkox and numerical values

Hi everyone!
I'm new to the forum and to javascript.

I have to make a simple fillable form pdf with a shopping cart, and I'd like to have some help.
I have a column which indicates the prices, and near each price there's a checkbox. When the client checks a checkbox, I want it to retain a specific numerical value (i.e. the cost of the corresponding service).

Then, at the end of the form, there's one cell in which I'd like to sum up all the numerical values of the checked boxes.