Hi guys, Im using contact form 7 (great plugin!) to make a page on a site for a client.
Basically, this client has sub-contractors who he needs to be able to log into his site, input some of their info, name, email, price, gst, etc. When they submit the form both the client and the sub-contractor receive an html formatted invoice with each of the cells in the table being occupied by the info gained from the web form. the [gst] tag goes in the GST field etc.
I need to be able to sum the values of two fields, [gst] and [price] to give a total price which needs to be inserted into the invoice.
I know that html does not support math, so i was wondering if there is a quick way i can alter the plugin, make my own shortcode which sums the values of others, or use Jquery to sum the values of two fields and put the info into a new shortcode which can then be inserted into the invoice.
Any help you guys could give me would be greatly appreciated, thanks!
- The topic ‘Need to sum two of the email-form values’ is closed to new replies.