It looks like a bug in php that the anchors won't carry through properly. I have found a work around for you.
To fix this issue on your site, open the page: WAVT_Scripts_PHP.php
and replace the existing function with the same name with:
function PostResult($thePage, $theErrors, $valPage) {
$thePostURL = "";
SaveFormToSession($theErrors, $valPage);
$thePostURL .= $thePage;
$urlParams = "";
$anchor = "";
$schema = $_SERVER['SERVER_PORT'] == '443' ? 'https' : 'http';
$host = strlen($_SERVER['HTTP_HOST'])?$_SERVER['HTTP_HOST']:$_SERVER['SERVER_NAME'];
if (strpos($thePostURL,"://") === false) {
if (strpos($thePage,"/") !== 0) {
$thePostURL = substr($_SERVER["PHP_SELF"],0,strrpos($_SERVER["PHP_SELF"],"/")+1) . $thePostURL;
}
if (strpos($thePostURL,"#") !== false) {
$anchor = substr($thePostURL,strpos($thePostURL,"#"));
$thePostURL = substr($thePostURL,0,strpos($thePostURL,"#"));
}
if (strpos($thePostURL,"?") !== false) {
$urlParams = substr($thePostURL,strpos($thePostURL,"?"));
$thePostURL = substr($thePostURL,0,strpos($thePostURL,"?"));
}
$thePostURL = $schema."://".str_replace("%2F","/",$host.rawurlencode($thePostURL)).$urlParams;
}
while (!(strpos($thePostURL,"/../") === false)) {
$thePostURL = substr($thePostURL, 0, strrpos(substr($thePostURL,0,strpos($thePostURL,"/../")),"/")+1).substr($thePostURL,strpos($thePostURL,"/../")+4);
}
if (isset($_SERVER['QUERY_STRING']) && ($_SERVER['QUERY_STRING'] != '')) {
if (strpos($thePostURL,"?") !== false) {
$thePostURL.= "&" . ($_SERVER['QUERY_STRING']);
} else {
$thePostURL.= "?" . ($_SERVER['QUERY_STRING']);
}
}
header("Location: ". $thePostURL.$anchor);
exit;
}
This one will account for anchors to allow this technique to work.