I am trying to have a user imput data into several fields, then I want to be able to add that value and take a percentage of it. I realize that I could just add the variables, however I would like the user to be able to see the total and the percentage. If you would like to look at the site just for reference,
http://clubs.psu.edu/bk/sga/eform/budget.php
thanks!
I am trying to have a user imput data into several fields, then I
Share
im not sure what do you mean, but if you just want user to fill the form and then do some math on the results, you can do simply like that:
then:
and just display both in your template.
UPDATE
ok, so try something like that (with newest jQuery, just modify it to your needs):
that is what u expect?