the code for the validated entries is not correct.
for example:
value="<?php echo(ValidatedField("websitehostingcompetition","Name")) ?>"
should be:
value="<?php echo(ValidatedField("websitehostingcompetition_521","Name")) ?>"
does the email validation message display?
perhaps try changing:
<span class="textfieldRequiredMsg">Error! The codes do not match</span>
to:
Error! The codes do not match
if you continue having problems, please post a link where i can see the issue.