A page that takes a post redirects the browser to a plain page, so a refresh cannot post twice - and then the page the browser lands on has to say what happened. A flash message carries that: padFlash ( 'Thanks, your message was sent.' ) before the padRedirect (), and {flash} on the page it leads to.

PHP
fragments/flash_messages_1.php
HTML
fragments/flash_messages_1.pad
Result
<?php

padFlash
( 'Your message was sent.', 'success' );

?>
{flash}
<p class="notice {$type}">{$message}</p>
@else@
<p>Nothing to report.</p>
{/flash}

Your message was sent.