• JS

    (@itanjillc)


    Two part question:

    Is it possible to take the value of two field, sum them together and display them in another field? For example:

    [text value-1] + [text value-2] = [text total]

    Next, is it possible to also trigger an alert() in the browser, displaying the value of the total field?

    I’m trying to work up a concept that I can apply toward a larger project. However, I’m getting stuck getting my script to work in my Theme’s functions.php file relating to the two questions above.

    Many thanks!

  • The topic ‘How to sum field values and send total as alert to browser.’ is closed to new replies.