Form designer: Hide the save as draft button for some actions

When the Save as draft feature is enabled, the button is displayed for all the workflow actions.

If you need to hide this button for some actions, you have to add the following .Net code (where INITIATES is the name of the action):

protected void Page_Load(object sender, EventArgs e)
	base.Page_Load(sender, e); 
	if (this.CurrentWorkflowActionName == "INITIATES") 
		saveAsDraftButton.Visible = false; 

In the example the INITIATES is missing an ending double quote.