Yes Kelly, if you utilize either option above, the page will always have the form title on it.
If you want custom form thank you text (so the form will disapear and the lead will not be redirected elsewhere) I have had success adding some javascript to my forms. If you use this method though, the form title cannot be placed in the form as it will disapear with the fields on submit.
The below script will hide the form on submit and display the Thank You <div>.
<div style="height:500px; width:500px padding:30px;" align="center">
<h1>Subscribe!</h1>
<script src="//app-abc.marketo.com/js/forms2/js/forms2.js"></script>
<form id="mktoForm_1234"></form>
<script>MktoForms2.loadForm("//app-abc.marketo.com", "123-abc-456", 1234, function(form){
form.onSuccess(function(values, followUpUrl){
form.getFormElem().hide();
document.getElementById("thankYou").style.display = "block";
return false;
});
});
</script>
<div id="thankYou" style="display:none;">
<p style="color:#000000; font-size:16px;">Thanks for subscribing</p>
</div>
</div>
The wrapping <div> is designed to ensure the thank you content will display in the same location as the form. I also added an <h1> to represent where I would place the form header (this will make sure it is above the form (or thank you text) no matter where placed).