since your form posts to a pearl script, you will not be able to use captcha with this form. the problem is this:
when a form is submitted, the form data is sent directly to the page specified in the action attribute of the form. the action attribute of your form is to post directly to the formprocess3.pl page which is a pearl script.
<form id="inquiry" action="http://www.nantucketantiquesdepot.com/cgi-bin/formprocess3.pl" method="post" name="inquiry" enctype="application/x-www-form-urlencoded" onsubmit="return validator(this)">
you would need to add the server validation php code for validating the entered captcha value to the action page, however, you cant add php code to a pearl script.
the only other option would be to change the action of the form to post to itself, then use cURL to send the post to the pearl script using the following code after the validation code block, but this is not supported:
<?php
if (($_SERVER["REQUEST_METHOD"] == "POST")) {
$c = curl_init();
curl_setopt($c, CURLOPT_URL, "http://www.nantucketantiquesdepot.com/cgi-bin/formprocess3.pl");
curl_setopt($c, CURLOPT_TIMEOUT, 90);
curl_setopt($c, CURLOPT_POST, 1);
curl_setopt($c, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($c, CURLOPT_POSTFIELDS, $_POST);
$result = curl_exec($c);
curl_close($c);
}
?>