Quantcast
Channel: WordPress.org Forums » [Visual Form Builder] Support
Viewing all articles
Browse latest Browse all 2775

Kostas Pappas on "[Plugin: Visual Form Builder] Adding extra data/field after form submit"

$
0
0

Hello and thanks for such a great plugin. I have a question though. In a form with priced fields, is it possible to keep the form's total in a variable or hidden field somewhere? I have tried with several actions and filters but nothing seems to affect the $_POST data submitted each time.

I need to implement something in the lines of :

$total = $_POST['amount_1'] + $_POST['amount_2'] +...
return $total;

and plug it with the rest of the data so as to be included in the db entry and perhaps the notification email.

https://wordpress.org/plugins/visual-form-builder/


Viewing all articles
Browse latest Browse all 2775

Trending Articles