i have a form that has 2 buttons. Update and Confirm.
Update processes a quantity and populates all fields just fine.
When I press the Confirm button, I want it to check to see if the Update button was pressed successfully or to see if the $total var was set.
But, once I press update and it populates, $total is set to, say 13.99. When I press Confirm, total is now 0.
How to I make it a 2 step process, Press Update and generate all fields successfully, then press Confirm, checks to see if update was pressed and go to the next page.
Thank you