Update line 6 of boatenquiry_insert.php to:
$WAFV_Redirect = "boatenquiry_insert.php?RecNo=".$_GET['RecNo'] ."&invalid=true";
That way it will pass the RecNo forward after failed validation so the recordset can use that to filter and populate the page.