OK - think I've made a bit of progress. I have put the insert and email code inside the ELSE statement for the reCaptcha.
I have it working now so that it shows the the fail message at the top of the page if the reCaptcha isn't validated. Can you have a look at check its done as it should be? I know sometimes things might work, but might not be done as they should.
And when it is validated it is inserting the new record, and triggering the two emails correctly.
The only thing I'm not sure is how to have the error message appear down at line 384?
Also, can you remind me of how to keep the form contents in the input boxed persist if the reCaptcha fails, so that people don't have to fill in the form again?