addField("Name", true, "text", "", "", "", ""); $formValidation->addField("Email", true, "text", "email", "", "", ""); $tNGs->prepareValidation($formValidation); // End trigger //start Trigger_SendEmail trigger //remove this line if you want to edit the code by hand function Trigger_SendEmail(&$tNG) { $emailObj = new tNG_Email($tNG); $emailObj->setFrom("{KT_defaultSender}"); $emailObj->setTo("contact@haddamhistory.org"); $emailObj->setCC("{Email}"); $emailObj->setBCC(""); $emailObj->setSubject("Contact Form Submission from CtAntiquesShow.org"); //WriteContent method $emailObj->setContent("The Following was sent by:\nName: {Name}\nEmail: {Email}\nComments/Questions: {Comments_Questions}\n"); $emailObj->setEncoding("ISO-8859-1"); $emailObj->setFormat("Text"); $emailObj->setImportance("Normal"); return $emailObj->Execute(); } //end Trigger_SendEmail trigger //start CheckCaptcha trigger //remove this line if you want to edit the code by hand function CheckCaptcha(&$tNG) { $captcha = new tNG_Captcha("captcha_id_id", $tNG); $captcha->setFormField("POST", "captcha_id"); $captcha->setErrorMsg("Please type in the characters exactly as they are shown below."); return $captcha->Execute(); } //end CheckCaptcha trigger // Make a custom transaction instance $customTransaction = new tNG_custom($conn_csas); $tNGs->addTransaction($customTransaction); // Register triggers $customTransaction->registerTrigger("STARTER", "Trigger_Default_Starter", 1, "POST", "KT_Custom1"); $customTransaction->registerTrigger("BEFORE", "Trigger_Default_FormValidation", 10, $formValidation); $customTransaction->registerTrigger("END", "Trigger_Default_Redirect", 99, "thanks.htm"); $customTransaction->registerTrigger("AFTER", "Trigger_SendEmail", 98); $customTransaction->registerTrigger("BEFORE", "CheckCaptcha", 10); // Set custom transaction SQL $customTransaction->setSQL("select *\nfrom email_forms"); // Add columns $customTransaction->addColumn("Name", "STRING_TYPE", "POST", "Name"); $customTransaction->addColumn("Email", "STRING_TYPE", "POST", "Email"); $customTransaction->addColumn("Comments_Questions", "STRING_TYPE", "POST", "Comments_Questions"); // End of custom transaction instance // Execute all the registered transactions $tNGs->executeTransactions(); // Get the transaction recordset $rscustom = $tNGs->getRecordset("custom"); $row_rscustom = mysql_fetch_assoc($rscustom); $totalRows_rscustom = mysql_num_rows($rscustom); // Captcha Image $captcha_id_obj = new KT_CaptchaImage("captcha_id_id"); ?> Connecticut's Spring Antiques Show: Contact us displayValidationRules();?>
Contact

Haddam Historical Society
P.O. Box 97
Haddam, CT 06438
860-345-2400
contact@haddamhistory.org
www.haddamhistory.org

Show Manager
Karen DiSaia
P.O.Box 471
Old Lyme, CT 06371
kdisaiamanagement@snet.net
860-908-0076

 

Connecticut Expo Center
265 Reverend Moody Overpass, Hartford, CT 06120
Phone: (860) 493-1300 | Fax: (860) 493-1304
E-Mail: hwalters@ctexpocenter.com



getErrorMsg(); ?>
displayFieldHint("Name");?> displayFieldError("custom", "Name"); ?>
displayFieldHint("Email");?> displayFieldError("custom", "Email"); ?>
displayFieldHint("Comments_Questions");?> displayFieldError("custom", "Comments_Questions"); ?>
Security Code: To help us distinguish between information submitted by
individuals and that which is automatically entered by
software robots, please type the characters
shown into the box below.



" border="1" />
Since 1973,
the Connecticut Spring Antiques Show has been...

Dealers List,
View the current list of Dealers.
       
Email Us,
we would love to hear from you.

Support,
Give us a hand, it will be greatly appreciated


Home|Beneficiary|Committee|Contact|Dealers
Directions|Events|History|Information|Sponsors


Web Design & Web Hosting by whoistheoldguy.com