"In a production environment, it is recommended not to store submitted form data in AEM repository. Submit actions such as Store Content, Store PDF, and Forms Portal store form data in AEM repository. These submit actions are meant only for demonstration purposes. Instead in a production environment, you must write a custom submit action that stores forms data in a more secure storage like your enterprise database. For more information, see Writing custom Submit action for adaptive forms."
Are submitting to a rest endpoint? If so, you could set a hidden field called say 'action' to a different value for each button before it submits, then when you get into your submit code just check the value of 'action' and proceed accordingly.