Not for you.
Your part (which is mostly cut and paste is just the fields array and what to do when the processing is finished....e.g. save it, go to another page, e-mail it, or reports showing errors.
/
Language: php (GeSHi-highlighted)
***************** FORM FIELD DEFINES ********************/
$fields = array();
$fields["first"] = array("value"=>"", "type"=>"name", "maxlength"=>25, "required"=>1, "label"=>"First Name", "example"=>"John", "message"=>"Please enter a name using only the letters A-Z and a hyphen or single quote if needed.");
Language: php (GeSHi-highlighted)
if ($result=="") { // if $result is empty we may perform our business logic.
/*
[color=red]1. Add new record
2. Generate e-mail verify record and send mail
3. Goto the Submission confirmation page.[/color]
*/
//$result = subscribe($email,$firstname,$lastname,$dob,$userAgent,$remoteAddress,$thisScript);
//if ($result==1) {
// $result = sendVerificationEmail($email,$userAgent,$remoteAddress,$thisScript);
//} else {
// die('ERROR 2');
//}
//header("Location: http://www.example.com/thankyou.php");
// save the current values.