Reply To: Save Message Dialog Box

Forums Dynamic Forms for SharePoint Save Message Dialog Box Reply To: Save Message Dialog Box

#6718

Kyle Vaske
Participant

(function(){
	var b = [""];
	b.push("<td class='ms-toolbar' nowrap='nowrap'>");
	b.push("<input type='button' class='ms-ButtonHeightWidth' value='Final Save' onclick='finalSave();' />");
	b.push("</td>"); 
	b.push("<td class='ms-separator'>&nbsp;</td>");
	$("input[id$=diidIOSaveItem]:last").parents("table:first").parents("td:first").before(b.join(""));
})();

function finalSave(){
	setFieldValue("FinalSave","Completed");
	$("input[id$=diidIOSaveItem]:last").click();
}

I have added this to the Custom JS and attached is what it displays on the screen.

Attachments: