Adding extra data/field after form submit
-
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.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Adding extra data/field after form submit’ is closed to new replies.