check_4html = true;
$checkingForm->add_text_field("Name", $_POST['Name'], "text", "y");// 30 chars max
$checkingForm->add_text_field("'Second / Alternate Name'", $_POST['SecondName'], "text", "y");// 30 chars max
//$checkingForm->add_text_field("Category", $_POST['Category'], "select", "n");
//$checkingForm->add_text_field("Published", $_POST['Published'], "select", "n");
$checkingForm->add_text_field("Pod Parent", $_POST['PodParent'], "text", "n");// 30 chars max
$checkingForm->add_text_field("Wild Seed Collection Location", $_POST['CLocation'], "text", "n");// 30 chars max
$checkingForm->add_text_field("Where Published", $_POST['PubRef'], "text", "n");// 30 chars max
$checkingForm->add_text_field("Pollen Parent", $_POST['Pollen'], "text", "n");// 30 chars max
$checkingForm->add_text_field("Sport Parent", $_POST['Sport'], "text", "n");// 30 chars max
$checkingForm->add_text_field("Bloom Description", $_POST['Bloom'], "text", "y");// 30 chars max
$checkingForm->add_text_field("Growth Habit", $_POST['Habit'], "text", "y");// 30 chars max
$checkingForm->add_text_field("Registered Trademark", $_POST['Trademark'], "text", "n");// 30 chars max
$checkingForm->add_text_field("Year of Introduction", $_POST['IntroDate'], "number", 4, "n");
$checkingForm->add_text_field("Name of Registrant", $_POST['Registrant'], "text", "y");// 30 chars max
$checkingForm->add_text_field("Name of Hybridizer", $_POST['Hybridizer'], "text", "y");// 30 chars max
$checkingForm->add_text_field("Introduced or First Distributed By",$_POST['Distributor'],"text", "y");// 30 chars max
$checkingForm->add_text_field("Registrant's Mailing Address",$_POST['RegistSmail'],"text", "y");
$checkingForm->add_text_field("Hybridizer's Mailing Address",$_POST['HybridSmail'],"text", "y");
$checkingForm->add_text_field("Distributor's Mailing Address",$_POST['DistriSmail'],"text", "n");
$checkingForm->add_text_field("Registrant's Email Address",$_POST['RegistEmail'],"email", "y");
$checkingForm->add_text_field("Hybridizer's Email Address",$_POST['HybridEmail'],"email", "y");
$checkingForm->add_text_field("Distributor's Email Address",$_POST['DistriEmail'],"email", "n");
$checkingForm->add_text_field("PassKey", $_POST['PassKey'], "text", "y");
$checkingForm->add_text_field("PassKeyString", $_POST['PassKeyString'], "text", "t");
if(!$checkingForm->validation())
{
$error = $checkingForm->create_msg();
}
if(isset($_POST['PassKey']))
{
if ($_POST['PassKey'] == $_POST['PassKeyString'])
{
if(isset($error))
{
$error .= "You Must Enter A New Passkey! "; // replace this text if you like...
$error .= "The Last Pass Key was: ";
$error .= $_POST['PassKeyString'];
$PassKey=new rndPass(6);
$_POST['PassKeyString'] = $PassKey->PassGen();
}
else
{
$envelope = new SecureFormMailer();
$envelope->SendForm();
$error = "All form fields are valid!\n\r";
$error .= "FORM SENT! \n\r";
}
}
else
{
if(isset($error))
{
$error .= "The Correct Pass Key Was: ";
}
else
{
$error = "The Correct Pass Key Was: ";
}
$error .= $_POST['PassKeyString'];
$error .= " The Pass Key You Entered Was: ";
$error .= $_POST['PassKey'];
$error .= "
";
$error .= "You Must Enter a Valid New Pass Key!
";
$PassKey=new rndPass(6);
$_POST['PassKeyString'] = $PassKey->PassGen();
}
}
else
{
$error .= "You Must Enter a Valid Pass Key!
";
$error .= "The Last Pass Key was: ";
$error .= $_POST['PassKeyString'];
$PassKey=new rndPass(6);
$_POST['PassKeyString'] = $PassKey->PassGen();
}
}
else
{
$PassKey=new rndPass(6);
$_POST['PassKeyString'] = $PassKey->PassGen();
} // if (isset($_POST['submit']))
$PassKey = new PassKeyGenerator($_POST['PassKeyString']);
if(!isset($width))
{
$width = 1250;
// $width = $_GET['width'];
// if(isset($_SESSION['width']))
// {
// $width = $_SESSION['width'];
// }
// else if(isset($_GET['width']))
// {
// $width = $_GET['width'];
// $_SESSION['width'] = $width;
// echo "\n";
// setcookie("width", $width);
// } // else if(isset($_GET['width']))
} // if(!isset($width))
if($width < 100) $width = 1250;
$scale = $width / 1250;
if($scale > 1.0) $scale = 1.0;
require_once('Dynamic_Style_Sheet/SITE_CSS.php');
?>
|
|
|
|
|
|
|
The following names would not be acceptable:
- A slight variation of a previously registered name.
- Names that include the words Viola, violet or pansy
- Names that include the words hybrid, cultivar, grex, group, maintenance,
mixture, selection, sport, series, strain, form, variety,
improved or transformed.
- Names that contain symbols, fractions or punctuation marks
EXCEPT for the apostrophe ('), the comma (,), a single
exclamation mark (!), the hyphen (-), the period or
full-stop (.), the forwardslash (/) or backslash (\).
- Names that are in excess of 30 characters.
|
|
All content on this site © The American Violet Society 2000, 2001,
2002, 2003, 2004, 2005, 2006 All rights reserved
|
Webmaster: Gary W. Sherwin:
webmaster@americanvioletsociety.org
|
|
HTML, JavaScript, CSS, Site and Page Design
© Gary W. Sherwin, Sherwin Family Enterprises 1999, 2000,
2003, 2005, 2006
|
|
|
|
|