touch form validation not working

I’m running the attached script, however the validation doesn’t work. I fill out the form and the notice boxes still appear. Am I missing something?
reg.zip (979 Bytes)