Suppose I have a Safecracker form that will edit channel entries. Once the entry is edited I want to display something like "Thanks for editing your entry" on the edit entry page. How would I go about displaying a thank you message on successful form submission? I do not want to be redirected to another page.
Here is example code.
{exp:safecracker channel="channel_name" return="channel_name/edit/ENTRY_ID" entry_id="{segment_3}"}
Title:<input name="title" type="text" value="{title}">
<br/><input type="submit" value="Submit">
{/exp:safecracker}