Thanks for the reply – I've just read the post and have got it working.
Just one other thing: when the div is shown via the following code:
<?php if(isset($_GET['sent']) && $_GET['sent'] == "true") { ?> <p id="confirm" style="background-color: #00274c; color: #fff; height: 30px; line-height: 30px; padding-left: 10px; margin-bottom: 15px;"> <strong>Thank you for your enquiry. We will be in contact as soon as possible. </strong></p><?php } ?>
... is it possible to have the form disappear?