Typically, you do not want to allow users on a public form to actually be able to view any data on the record. That just because you don't want one member of the public to see another persons entry. If they just hacked the URL a little bit they could easily do that.
So there are two best practices. One is to make sure that the form which is displayed in view mode just has a thank you message on it and no real data. That is really just to prevent the mild hacking.
But what you really want to do is to redirect the user to another page. What will happen is the record will automatically get saved which is what you were trying to accomplish with your submit button. The syntax to display a page is
URLRoot() & "db/" & AppID() & "a=ShowPage&PageID=99"
Create the Rich Text Page under app settings and then Pages. Change the 99 to the ID if the Page.
------------------------------
Mark Shnier (YQC)
mark.shnier@gmail.com
------------------------------