PHP mailer tutorial

Hello again.

I recently completed the PHP emailer tutorial and it’s all working fine. I was wondering if any of you guys had some code ideas for verification ie: checking that the user has completed all fields in the form before can send the variables to the PHP.

I presume these actions would go on the submit button.

I tried a couple of ideas but they don’t seem to be working.

thanks