After the last line of any FORM you add the following code
[PHP]
Enter Code:
(case sensitive)
[/PHP]
That will add the code and the fie.d to enter it. In the validation code you then just compare the two variables like this
[PHP]if (trim( mosGetParam( $_POST, 'code', '' ) ) <> trim( mosGetParam( $_POST, 'code2', '' ) ) ) { display error message }
[/PHP]
I hope this helps.