Circle of Hope RSVP - Albany

= 1 && substr($months,0,1) == ‘;’) $months = substr($months,1); $message = “This is a RSVP request – Circle of Hope – Albany Office.\n\n”; $message .= “Date: $currdate\n”; $message .= “Email: $email\n”; $message .= “First name: $firstname\n”; $message .= “Last name: $lastname\n”; $message .= “Phone: $phone\n”; $message .= “Months: $months\n”; $message .= “Comments?:\n\n$comments\n\n”; } ?>

Thank you for your interest in CNYHA Circle of Hope in Albany!‘; } if (isset($submit) && trim($submit) != ) // Form was submitted… { if (trim($email) != && trim($firstname) != && trim($lastname) != && trim($phone) != && trim($months) != ) { mail(‘sdicerbo@cnyfertility.com’,’RSVP request – Circle of Hope – Albany Office’,$message); print ‘Thank you!

‘; print ‘Your RSVP has been sent to CNY Healing Arts.

‘; print ‘The group coordinator will contact you shortly!

‘; print ‘Click here to continue.

‘; return; // Exit the script. } else // No e-mail address, warn user. { print ‘

‘; if (trim($email) == ”) print ‘You forgot to type your e-mail address. Try again!’; else if (trim($firstname) == ”) print ‘You forgot to type your first name. Try again!’; else if (trim($lastname) == ”) print ‘You forgot to type your last name. Try again!’; else if (trim($phone) == ”) print ‘You forgot to type your phone number. Try again!’; else if (trim($months) == ”) print ‘You forgot to select a month checkbox. Try again!’; print ‘
‘; } } else // Full form was not submitted. { print ‘
Please complete this short form to RSVP!

* = Required field

‘; } ?>
* Your email address: * First name: * Last name: * Phone: * Month you are RSVPing for:
> January > February
> March > April
> May > June
> July > August
> September > October
> November > December
Any suggestions/comments?: