I am using a Freeform Pro form where the user can edit a numeric field (number of of places booked for an event). When they click on submit, they are sent to a processing template to do the calculation in order to update the remaining number.
In the processing template that's doing the calculation, I can always access the new number set by the user in the freeform form ({freeform:field:numberofplaces}).
What I need is the number of places booked before the edit. I am trying to save it in a php variable like this on the edit freeform edit page:
<?php
$numPlacesBeforeEdit = {freeform:field:numberofstudents};
?>
But how can I pass this variable from the edit page to the processing template (the freeform edit page "return" is set to go to the processing template).
Thanks