Jump to content

form missing fields validation


JimKI
 Share

Recommended Posts

I need my form to return if missing fields have been left blank and highlight the missing fields but keep the fields that have been filled out. How can I do this. Here is my code so far:Php:<?phpinclude ($_SERVER['DOCUMENT_ROOT'] . '/8.0/inc2/framework8.php');include ($_SERVER['DOCUMENT_ROOT'] . '/8.0/inc2/declaration.html');?><head> <title>Contact BUZGate</title> <?phpinclude ($_SERVER['DOCUMENT_ROOT'] . '/8.0/inc2/content_type.html');?> <meta name="keywords" content="mentor, coaching, ementoring, business mentor, business coach," /> <meta name="title" content="Contact BUZGate" /> <meta name="description" content="" /> <meta name="intsearch" content="" /> <?phpinclude ($_SERVER['DOCUMENT_ROOT'] . '/8.0/inc2/styles.html');?><style type="text/css">#bodyBlock2 #tenForm form table tr td #calculate { text-align: center;}#bodyBlock2 #tenForm form table tr td { text-align: left;}#bodyBlock2 #tenForm form table { text-align: left;}#bodyBlock2 #tenForm table tr td .Label { text-align: center;}</style></head><body><?php # these are now set automatically by the site framework code #$page_name = "fh.php"; #$state_abbrv_up = "NH"; #$state_abbrv_low = "nh"; #$state_name = "New Hampshire";include ($_SERVER['DOCUMENT_ROOT'] . '/8.0/inc2/header.html');?><?php // NAME STEP AND GIVE VALUE TO QUESTION VARIABLES SO ERROR CHECKING DOES NOT HAVE TO BE RECREATED FOR EVERY PAGE $numListings = '16'; $listings = array(1 => '*Industry Category', '*Company Name', '*Address1', 'Address2', '*City', '*State', '*Zip/Postal Code', '*Web Address', '*First Name', '*Last Name', 'Title', '*Email', '*Business Phone', 'Fax', '*Description', '*Which state or states do you want your business promoted in? BUZGate reaches all 50 United States, District of Columbia and Puerto Rico.' ); //GIVE NUMBER OF QUESTIONS AND GIVE VALUE TO QUESTION VARIABLES SO ERROR CHECKING DOES NOT HAVE TO BE RECREATED FOR EVERY PAGE /* //get values from the $_post array $stateAmount1 = $_POST['amount1']; // echo "1 to 9 States at $89.95 per state/per year : ".$stateAmount1."<br />"; $stateAmount2 = $_POST['amount2']; //echo "10 - 24 States at $59.95 per state/per year : ".$stateAmount2."<br />"; $stateAmount3 = $_POST['amount3']; //echo "25 - 51 States at $49.95 per state/per year: ".$stateAmount3."<br />"; $stateTotal1 = $_POST['total1']; //echo "total1: ".$stateAmount1."<br />"; $stateTotal2 = $_POST['total2']; //echo "total2: ".$stateAmount2."<br />"; $stateTotal3 = $_POST['total3']; //echo "total3: ".$stateAmount3."<br />"; $stateTotal4 = $_POST['total4']; // echo "50 States, DC & Puerto Rico at $2,500/year: ".$stateTotal."<br />"; $logoTotal = $_POST['logo']; //echo "logo: ".$logoTotal."<br />"; //Calculate the state total 1: $stateTotal1 = 89.95 * $stateAmount1; //echo "total1: ".$stateTotal1."<br />"; //Calculate the state total 2: $stateTotal2 = 59.95 * $stateAmount2; //echo "total2: ".$stateTotal2."<br />"; //Calculate the state total 3: $stateTotal3 = 49.95 * $stateAmount3; //echo "total3: ".$stateTotal3."<br />"; //Calculate the total order: $totalOrder = $stateTotal1 + $stateTotal2 + $stateTotal3 + $stateTotal4 + $logoTotal; //echo "totalOrder: ".$totalOrder."<br />"; */ /*$category = $_POST['category']; */ // GIVE NUMBER OF RADIO BOX OPTIONS AND THEIR NAMES //print_r($_POST); // GIVE NUMBER OF RADIO BOX OPTIONS AND THEIR NAMES $numOptions = '0';// ADD QEUSTIONS AND ANSWERS TO $EMAIL_BODY AND $EMAIL_BODYCC BELOW // IF FORM WAS SUBMITTED, MOVE ON TO NEXT STEP (ERROR CHECKING) if((isset($_POST['submit']))) { //CHECK FOR MISSING DATA (ERROR CHECKING) for ($i = 1; $i <= $numListings; $i++) { if (empty($_POST['data'.$i])) { $problem = TRUE; $dataSpan [$i] = '<span style="color:red; font-weight:bold;">'.$listings[$i].'</span>'; } else { $dataSpan [$i] = $listings[$i]; } } if (empty($_POST['email'])) { $problem = TRUE; $emailSpan = '<span style="color:red; font-weight:bold;">*Your email address</span>'; } else { $emailSpan = '*Your email address'; } if (!empty($_POST['name'])) { $problem = TRUE; $nameSpan = '<span style="color:red; font-weight:bold;">*Your Name</span>'; } else { $nameSpan = 'Your Name'; } //IF MISSING DATA, PREPARE TO DISPLAY FORM. IF NO MISSING DATA, MOVE ON TO NEXT STEP (THANK YOU, SEND EMAILS AND LINK TO NEXT FORM) if ($problem == TRUE) { $display = TRUE; } else { $display = FALSE; } } // IF THE FORM IS NOT BEING SUBMITTED (FIRST VISIT TO PAGE), SET THE // FORM DISPLAY VARIABLE TO TRUE AND DEFINE VALUES OF DATA#SPAN VARIABLES (QUESTIONS) if ($display == TRUE) { print '<p>BUZGate reaches millions of prospective new customers each month. For less than $8.00 per month, increase awareness of your goods and services and generate more qualified leads with an interactive listing.</p> <p>Use the form below to choose what state(s) you want your listing to appear in and our marketing team will publish your business information and email you for content/link confirmation. </p> <p><strong>Pricing:</strong> $89.95 per state per year, which includes a logo logo. Multiple state volume discounts available.</p> <p><strong>*</strong>Required Fields are marked with an asterisk and highlighted</p> There are two steps to the ordering process step one is fill out the info below then hit submit once hit submit you will be brought to the next step where you will order the amount of states with paypal. '; if ($problem == TRUE) { print '<h3>You have not filled out the form compeletly, Please <a href="http://www.buzgate-dev.org/8.0/choose_state.html?p=">Click here</a> to go back to previous page.</p></h3>'; } print ' <form action="register_business.php" method="POST" onsubmit="return validateForm(this,requiredTextFields,requiredSelectFields,requiredCheckboxFields);">> <table width="667" height="984" border="0" cellpadding="4" cellspacing="3"> <tr> <td colspan="2" align="left" valign="top" border="0">* Required fields are marked with an asterisk </td> </tr> <tr> <td colspan="2" align="left" valign="top" border="0"><p>Contact and Listing Information </p></td> </tr> <tr> for ($i = 1; $i <= $numListings; $i++) { <tr> <td align="left" valign="top" border="0"> <p>'.$dataSpan[$i].'</p> <textarea rows="11" cols="20" id="data'.$i.'" name="data'.$i.'">'.$_POST['data'.$i].'</textarea> } </td> } </tr> <tr> <td colspan="4" align="left" valign="top" border="0"> Submitting the form (* = required) </th> </tr> <tr> <td colspan="4" class="submitCell" align="center"> <input type="reset" value="Clear" /> <input type="submit" name="submit" value="Submit" /><br /> <a href="'.$filePathState.'about_privacy.html" target="_blank"><span style="font-size:9px;">View our privacy policy</span></a> </td> </tr></table></form></div> ';} else { $display = TRUE; $emailSpan = '*Your email address'; $nameSpan = 'Your Name'; // DEFINE SESSION VARIABLES $_SESSION['email']=$_POST['email']; // DEFINE VARIABLES FOR MAILING TO USER AND BUZGATE $to = 'askbuz@buzgate.org,'.$_POST['email']; $email_subject = "Contact and Listing Information"; For ($i = 1; $i <= $numListings; $i++) { $eBodyQuestions .= $listings[$i]."\n" .$_POST['data'.$i]."\n"; $email_body =$eBodyQuestions.$logo; } //PLACE VARIABLES IN MAIL FUNCTION mail($to, $email_subject, $email_body); // DEFINE VARIABLES FOR MAILING TO USER AND BUZGATE $toCc = $_POST['emailCc']; $email_subjectCc = "Contact and Listing Information".$_POST['name']; $email_bodyCc = $_POST['name']." has sent this to you from www.BUZGate.org/8.0/".$state_abbrv_low."/".$page_name."\n Please contact us at askbuz@buzgate.org if you have received this in error.\n"; $email_bodyCc = $email_bodyCc.$eBodyQuestions; $headersCc = "From:askbuz@buzgate.org";; //PLACE VARIABLES IN CC MAIL FUNCTION mail($toCc, $email_subjectCc, $email_bodyCc, $headersCc); // DISPLAY RESPONSE TO CORRECTLY FILLING OUT FORM print '<div id="bodyBlock2"> <div id="bodyPadding"> <table> <tr><td>Thank you for submitting the specifications for your company promotional listing. To complete your order, select the total number of states that your listing is to be published in and complete the PayPal instructions to submit payment. A representative will then follow up with an email for you to approve the final listing content and links. <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post"><input type="hidden" name="cmd" value="_s-xclick"><input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIG1QYJKoZIhvcNAQcEoIIGxjCCBsICAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ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pO81M+tQOI9SIPMpwYu/Hyw==-----END PKCS7-----"><input type="image" src="https://www.paypal.com/en_US/i/btn/btn_viewcart_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"><img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"></form></td></tr><tr> <td colspan="2" align="left" valign="top" border="0"><p><strong>PLACE YOUR ORDER</strong><br /> Select one of the seven volume pricing discounts below based on the total number of states you are ordering. The corresponding drop down box will reveal the total price based on the total number of states ordered. Then just click on the "Add to Cart" button to use the secure Pay Pal payment platform. Thank you for your order. </td> </tr></table><div><table> <tr><td><strong>Number of State-Based Listings:</strong></td></tr> <tr><td ><form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post"><input type="hidden" name="cmd" value="_s-xclick"><input type="hidden" name="hosted_button_id" value="JJV9N73526G9E"><table width="600" border="1" ><tr><td><input type="hidden" name="on0" value="1 to 9 States at $89.95 per state/per year">1 to 9 States at $89.95 per state/per year</td><td align="right"><select name="os0"> <option value="1 State">1 State $89.95</option> <option value="2 States">2 States $179.90</option> <option value="3 States">3 States $269.85</option> <option value="4 States">4 States $359.80</option> <option value="5 States">5 States $449.75</option> <option value="6 States">6 States $539.70</option> <option value="7 States">7 States $629.65</option> <option value="8 States">8 States $719.60</option> <option value="9 States">9 States $809.55</option></select> </td><td width="144"><input type="hidden" name="currency_code" value="USD"><input type="image" src="https://www.paypal.com/en_US/i/btn/btn_cart_LG.gif" name="submit" alt="PayPal - The safer, easier way to pay online!"><img alt="" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"></td></tr></table></form><form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post"><input type="hidden" name="cmd" value="_s-xclick"><input type="hidden" name="hosted_button_id" value="L6AAZ883PS4DQ"><table width="600" border="1" ><tr><td ><input type="hidden" name="on0" value="10 - 24 States at $59.95 per state/per year">10 - 19 States at $59.95 per state/per year</td><td align="right" ><select name="os0"> <option value="10 States">10 States $599.50</option> <option value="11 States">11 States $659.45</option> <option value="12 States">12 States $719.40</option> <option value="13 States">13 States $779.35</option> <option value="14 States">14 States $839.30</option> <option value="15 States">15 States $899.25</option> <option value="16 States">16 States $959.20</option> <option value="17 States">17 States $1,019.15</option> <option value="18 States">18 States $1,079.10</option> </select> </td><td width="144"><input type="hidden" name="currency_code" value="USD"><input type="image" src="https://www.paypal.com/en_US/i/btn/btn_cart_LG.gif" name="submit" alt="PayPal - The safer, easier way to pay online!"><img alt="" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"></td></tr></table></form><form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post"><input type="hidden" name="cmd" value="_s-xclick"><input type="hidden" name="hosted_button_id" value="NUHAENK3P6P7Q"><table width="600" border="1" ><tr><td><input type="hidden" name="on0" value="20 - 24 States at $59.95 per state/per year">20 - 24 States at $59.95 per state/per year</td><td align="right"><select name="os0"> <option value="20 States">20 States $1,199.00</option> <option value="21 States">21 States $1,258.95</option> <option value="22 States">22 States $1,318.90</option> <option value="23 States">23 States $1,378.85</option> <option value="24 states">24 states $1,438.80</option></select> </td><td width="144"><input type="hidden" name="currency_code" value="USD"><input type="image" src="https://www.paypal.com/en_US/i/btn/btn_cart_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"><img alt="" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"></td></tr></table></form><form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post"><input type="hidden" name="cmd" value="_s-xclick"><input type="hidden" name="hosted_button_id" value="9X7TJUXDN4PP4"><table width="600" border="1" ><tr><td><input type="hidden" name="on0" value="25 - 51 States at $39.95 per state/per year">25 - 34 States at $39.95 per state/per year</td> <td align="right"><select name="os0"> <option value="25 State">25 State $998.75</option> <option value="26 States">26 States $1,038.70</option> <option value="27 States">27 States $1,078.65</option> <option value="28 States">28 States $1,118.60</option> <option value="29 States">29 States $1,158.55</option> <option value="30 States">30 States $1,198.50</option> <option value="31 States">31 States $1,238.45</option> <option value="32 States">32 States $1,278.40</option> <option value="33 States">33 States $1,318.35</option> <option value="34 States">34 States $1,358.30</option> </select> </td><td width="144"><input type="hidden" name="currency_code" value="USD"><input type="image" src="https://www.paypal.com/en_US/i/btn/btn_cart_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"><img alt="" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"></td></tr></table></form><form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post"><input type="hidden" name="cmd" value="_s-xclick"><input type="hidden" name="hosted_button_id" value="3RR6KZ75677YN"><table width="600" border="1" ><tr><td><input type="hidden" name="on0" value="35 - 44 States at $39.95 per state/per year">35 - 44 States at $39.95 per state/per year</td><td align="right"><select name="os0"> <option value="35 States">35 States $1,398.25</option> <option value="36 States">36 States $1,438.20</option> <option value="37 States">37 States $1,478.15</option> <option value="38 States">38 States $1,518.10</option> <option value="39 States">39 States $1,558.05</option> <option value="40 States">40 States $1,598.00</option> <option value="41 States">41 States $1,637.95</option> <option value="42 States">42 States $1,677.90</option> <option value="43 States">43 States $1,717.85</option> <option value="44 States">44 States $1,757.80</option></select> </td><td width="144"><input type="hidden" name="currency_code" value="USD"><input type="image" src="https://www.paypal.com/en_US/i/btn/btn_cart_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"><img alt="" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"></td></tr></table></form><form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post"><input type="hidden" name="cmd" value="_s-xclick"><input type="hidden" name="hosted_button_id" value="K4FG2PW3GAYSG"><table width="600" border="1" ><tr><td><input type="hidden" name="on0" value="45 - 51 States at $39.95 per state/per year">45 - 51 States at $39.95 per state/per year</td><td align="right"><select name="os0"> <option value="45 States">45 States $1,797.75</option> <option value="46 States">46 States $1,837.70</option> <option value="47 States">47 States $1,877.65</option> <option value="48 States">48 States $1,917.60</option> <option value="49 States">49 States $1,957.55</option> <option value="50 States">50 States $1,997.50</option> <option value="51 States">51 States $2,037.45</option></select> </td><td width="144"><input type="hidden" name="currency_code" value="USD"><input type="image" src="https://www.paypal.com/en_US/i/btn/btn_cart_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"><img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"></td></tr></table></form><form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post"><input type="hidden" name="cmd" value="_s-xclick"><input type="hidden" name="hosted_button_id" value="TQNX2Z8BXH35W"><table width="600" border="1"><tr><td><input type="hidden" name="on0" value="Nationwide">Nationwide (All 50 states, DC and Puerto Rico) for $2,000 per year</td><td width="144" align="right"><input name="submit" type="image" src="https://www.paypal.com/en_US/i/btn/btn_cart_LG.gif" alt="PayPal - The safer, easier way to pay online!" border="0"><img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"></td></tr></table></form> <!-- BEGIN: Constant Contact Text Link Email List Button --><div align="center"><table width="200" border="0" cellpadding="0" cellspacing="0"><tr><td nowrap width="100%" align="center"><a href="http://visitor.r20.constantcontact.com/d.jsp?llr=ylqzswcab&p=oi&m=1102417019256" target="_blank" style="font-family:Arial; font-size:13px; color:#000000;">Keep Me Informed</a></td></tr></table></div><!-- END: Constant Contact Text Link Email List Button --><!-- BEGIN: SafeSubscribe --><div align="center" style="padding-top:5px;"><img src="https://imgssl.constantcontact.com/ui/images1/safe_subscribe_logo.gif" border="0" width="168" height="14" alt=""/></div><!-- END: SafeSubscribe --><!-- BEGIN: Email Marketing you can trust --><div align="center" style="font-family:Arial,Helvetica,sans-serif;font-size:10px;color:#999999;">For <a href="http://www.constantcontact.com/jmml/email-marketing.jsp" style="text-decoration:none;font-family:Arial,Helvetica,sans-serif;font-size:10px;color:#999999;" target="_blank">Email Marketing</a> you can trust</div><!-- END: Email Marketing you can trust --> <table width="600" border="1"><tr><td align="center"> <a href="about_privacy.html" target="_blank"><span style="font-size:9px;">View privacy policy</span></a></td> </tr></table></div> </td> </tr></table></div> ';include ($_SERVER['DOCUMENT_ROOT'] . '/8.0/inc2/stay_buzed.html'); include ($_SERVER['DOCUMENT_ROOT'] . '/8.0/inc2/footer.html'); }?></body></html>HTML<?phpinclude ($_SERVER['DOCUMENT_ROOT'] . '/8.0/inc2/framework8.php');include ($_SERVER['DOCUMENT_ROOT'] . '/8.0/inc2/declaration.html');?><head> <title>Contact BUZGate</title> <?phpinclude ($_SERVER['DOCUMENT_ROOT'] . '/8.0/inc2/content_type.html');?> <meta name="keywords" content="mentor, coaching, ementoring, business mentor, business coach," /> <meta name="title" content="Contact BUZGate" /> <meta name="description" content="" /> <meta name="intsearch" content="" /> <?phpinclude ($_SERVER['DOCUMENT_ROOT'] . '/8.0/inc2/styles.html');?><style type="text/css">#bodyBlock2 #tenForm form table tr td #calculate { text-align: center;}#bodyBlock2 #tenForm form table tr td { text-align: left;}#bodyBlock2 #tenForm form table { text-align: left;}#bodyBlock2 #tenForm table tr td .Label { text-align: center;}</style></head><body><?php # these are now set automatically by the site framework code #$page_name = "fh.php"; #$state_abbrv_up = "NH"; #$state_abbrv_low = "nh"; #$state_name = "New Hampshire";include ($_SERVER['DOCUMENT_ROOT'] . '/8.0/inc2/header.html');?><div id="bodyBlock2"> <div id="bodyPadding"> <div class="blockTitle gradTitleBox generalGrad">Promote Awareness, Access & Use of Your<br /> Goods and Services<br /></div> <div id="tenForm"> <p>BUZGate reaches millions of prospective new customers. For less than $8.00 per month, increase awareness of your goods and services and generate more qualified leads with an interactive listing and logo.<BR> </p> <p>Ordering is easy:<BR> </p> <OL> <LI>Complete the fields below and select submit <LI>Confirm order specifications and total to submit payment <LI>Per subsequent email, confirm listing accuracy<BR> </LI> </OL><p> </p><form action="register_business.php" method="POST" > <table height="984" border="0" cellpadding="4" cellspacing="3" align="center"> <tr> <td colspan="2" align="left" valign="top" border="0">* Required fields are marked with an asterisk </td> </tr> <tr> <td colspan="2" align="left" valign="top" border="0"><p><strong>Contact and Listing Information</strong></p></td> </tr> <tr> <td width="576" align="left" valign="top" nowrap border="0">*Industry Category (retail, web development, consulting, etc.)</td><td width="158" align="left" valign="top" border="0"><input type="text" id="data1" name="data1" /></td> </tr> <tr> <td align="left" valign="top" border="0">*Company Name </td> <td align="left" valign="top" border="0"><input type="text" id="data2" name="data2" /></td> </tr> <tr> <td align="left" valign="top" border="0">*Address 1 </td> <td align="left" valign="top" border="0"><input type="text" id="data3" name="data3" /></td> </tr> <tr> <td align="left" valign="top" border="0">Address 2 </td> <td align="left" valign="top" border="0"><input type="text" id="data4" name="data4" /></td> </tr> <tr> <td align="left" valign="top" border="0">*City </td> <td align="left" valign="top" border="0"><input type="text" id="data5" name="data5" /></td> </tr> <tr> <td align="left" valign="top" border="0">*State </td> <td align="left" valign="top" border="0"><input type="text" id="data6" name="data6" /></td> </tr> <tr> <td align="left" valign="top" border="0">*Zip/Postal Code </td> <td align="left" valign="top" border="0"><input type="text" id="data7" name="data7" /></td> </tr> <tr> <td align="left" valign="top" border="0">*Web Address </td> <td align="left" valign="top" border="0"><input type="text" id="data8" name="data8" value="http://" /></td> </tr> <tr> <td align="left" valign="top" border="0">*First Name </td> <td align="left" valign="top" border="0"><input type="text" id="data9" name="data9" /></td> </tr> <tr> <td align="left" valign="top" border="0">*Last Name </td> <td align="left" valign="top" border="0"><input type="text" id="data10" name="data10" /></td> </tr> <tr> <td align="left" valign="top" border="0">Title </td> <td align="left" valign="top" border="0"><input type="text" id="data11" name="data11" /></td> </tr> <tr> <td align="left" valign="top" border="0">*Email </td> <td align="left" valign="top" border="0"><input type="text" id="data12" name="data12" /></td> </tr> <tr> <td align="left" valign="top" border="0">*Business Phone (e.g., xxx-xxxx-xxxx)<BR> <BR></td> <td align="left" valign="top" border="0"><input type="text" id="data13" name="data13" /></td> </tr> <tr> <td align="left" valign="top" border="0">Fax (e.g., xxx-xxxx-xxxx)</td> <td align="left" valign="top" border="0"><input type="text" id="data14" name="data14" /></td><td width="2"></td> </tr> <tr> <td colspan="2" align="left" valign="top" border="0"><p>Briefly describe your business offerings. This information will be used as a reference by our professional marketing team to create the interactive listing description.</td> </tr> <tr> <td colspan="2" align="left" valign="top" border="0"> *Description(limit 1,000 words)<br /> <textarea rows="5" cols="48" id="data15" name="data15"></textarea> </td> </tr> <tr> <td colspan="2" align="left" valign="top" border="0"> <p>*Which state or states do you want your business promoted in? BUZGate reaches all 50 United States, District of Columbia and Puerto Rico. (e.g., AK, AL, CA, CO, DE, DC, etc...)<BR> </p>(limit 1,000 words)<br /><textarea rows="5" cols="48" id="data16" name="data16"></textarea> </td> </tr><tr><td colspan="2"> <div class="fhFormLeft2"><label for="dgfSecureCode" class="dgfLabel">*Anti-Spam code</label> </div> <div class="fhFormRight2"> <input name="dgfSecureCode" id="dgfSecureCode" value="" size="6" maxlength="6" class="required" onChange="if(isItEmpty(this.value)) {alertMsg(this.form.name,this.name,'Please enter the anti-spam code to submit this form.');}" type="text">      <img src="/8.0/lib/forms/img_protect/1/p.gif" \=""><img src="/8.0/lib/forms/img_protect/1/e.gif" \=""><img src="/8.0/lib/forms/img_protect/3/k.gif" \=""><img src="/8.0/lib/forms/img_protect/3/f.gif" \=""> </div></td></tr></table> <table align="center"> <tr align="center"> <td colspan="2" align="center" valign="middle" border="0" > <label for="Reset" class="Label"> <span id="Reset"> <br> <input type="reset" name="Reset" id="Reset" value="Clear" /> </span></label> <input name="Action" type="hidden" value="processForm" /> <label for="Submit" class="Label"> <input type="submit" name="Submit" id="Submit" value="Submit Form" /> </label> <label for="Submit" class="Label"></label></td> </tr> </table></form> </div></div> <?phpinclude ($_SERVER['DOCUMENT_ROOT'] . '/8.0/inc2/stay_buzed.html');?> </div><br clear="all" /><?phpinclude ($_SERVER['DOCUMENT_ROOT'] . '/8.0/inc2/footer.html');?></body></html>

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...