I have the following form set up in O365.
Task Form which has normal field controls, task outcome control, a save button and a submit button.
On the buttons, I have rules to display the relevant button depending on which task outcome is selected i.e. Task Outcome = Save details, then I show the Save Button, Task Outcome = Process data, then I display the Submit button.
So by default, I do not want the submit button to be displayed. The rule should hide the submit button based on the default value of the Task Outcome, which I have set on the control, and on the Task activity. When I preview the form, it works as expected but when I run the workflow, then the submit button is not hidden.