Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
  #1  
Old 08-07-2006, 06:08 PM
retsell retsell is offline
 
Join Date: Jul 2003
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default form fields clear when pressing back button.

I have a form which integrates with VB 3.0 for style, navbar, and header. I am having a problem with it clearing the form fields whenever the back button is pressed. Since the form is so long, it's very time consuming to reenter everything because you missed one field. here's the code for the form file. I'm not sure why, but everytime it's loaded, it refreshes. Any ideas? (remember it's a work in progress, so don't tear up my techniques too bad yet.)
Code:
<?
// ######################## SET PHP ENVIRONMENT ########################### 
error_reporting(E_ALL & ~E_NOTICE); 

// ##################### DEFINE IMPORTANT CONSTANTS ####################### 
// change the line below to the actual filename without ".php" extention. 
// the reason for using actual filename without extention as a value of this constant is to ensure uniqueness of the value throughout every PHP file of any given vBulletin installation. 

define('THIS_SCRIPT', 'newCompletion');  

// #################### PRE-CACHE TEMPLATES AND DATA ###################### 
// get special phrase groups 
$phrasegroups = array(); 

// get special data templates from the datastore 
$specialtemplates = array(); 


// pre-cache templates used by specific actions 
$actiontemplates = array(); 

// ########################## REQUIRE BACK-END ############################ 
require_once('./global.php'); 

// #################### HARD CODE JAVASCRIPT PATHS ######################## 
$headinclude = str_replace('clientscript', $vbulletin->options['bburl'] . '/clientscript', $headinclude); 

// ######################################################################## 
// ######################### START MAIN SCRIPT ############################ 
// ######################################################################## 

// draw nav bar
$navbits = array();
$parentlist = array_reverse(explode(',', substr($foruminfo['parentlist'], 0, -3)));
foreach ($parentlist AS $forumID)
{
	$forumTitle = $forumcache["$forumID"]['title'];
	$navbits["forumdisplay.php?$session[sessionurl]f=$forumID"] = $forumTitle;
}

// pop the last element off the end of the $nav array so that we can show it without a link
array_pop($navbits);

$navbits[''] = $foruminfo['title'];
$navbits = construct_navbits($navbits);
eval('$navbar = "' . fetch_template('navbar') . '";');

$username="xxxx";
$password="xxxx";
$database="xxxx";

mysql_connect(localhost,$username,$password);
mysql_select_db($database) or die( "Unable to select database");
$mortgagequery="SELECT * FROM mortgageCompanies ORDER BY `company` ASC";
$mortgageresult=mysql_query($mortgagequery);
$mortgagenum=mysql_numrows($mortgageresult);

$servicequery="SELECT * FROM serviceCompanies ORDER BY `company` ASC";
$serviceresult=mysql_query($servicequery);
$servicenum=mysql_numrows($serviceresult);

$keyquery="SELECT * FROM keyCodes ORDER BY `code` ASC";
$keyresult=mysql_query($keyquery);
$keynum=mysql_numrows($keyresult);

mysql_close();

print <<<HERE
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle]</title>
</head>
<body>

$header
$navbar

HERE;

?>

<head>
<script type="text/javascript">
function trailerInfo(status)
{
form = document.vbform;
if (status==1)
	{
	var trailerSerial = prompt('Enter serial number(s)');
	var trailerHud = prompt('Enter HUD number(s)');
	var trailerManufacturer = prompt('Manufacturer');
	var trailerDate = prompt('Manufacture Date');
	var trailerSize = prompt('Enter Trailer Size');
	var trailerTongues = prompt('Are tongues present?');
	var trailerAxles = prompt('Are axles present?');
	form.trailerinfo.value = "Serial Number(s) : " + trailerSerial + "\n<br>HUD Number(s): " + trailerHud + "\n<br>Manufacturer: " + trailerManufacturer + "\n<br>Manufacture Date: " + trailerDate + "\n<br>Size: " + trailerSize + "\n<br>Tonques Present: " + trailerTongues + "\n<br>Axles Present: " + trailerAxles;
	chVis('trailerinfo', 'visible');
	}
else if (status==2){
	form.trailerinfo.value = "";
	chVis('trailerinfo', 'hidden');
	}
else {
	form.trailerinfo.value = "Previously Reported";
	chVis('trailerinfo', 'visible');
	}
	}

function chVis(section, status)
{
if (document.getElementById(section + "1")) document.getElementById(section + "1").style.visibility=status;
if (document.getElementById(section + "2")) document.getElementById(section + "2").style.visibility=status;
if (document.getElementById(section + "3")) document.getElementById(section + "3").style.visibility=status;
if (document.getElementById(section + "4")) document.getElementById(section + "4").style.visibility=status;
if (document.getElementById(section + "5")) document.getElementById(section + "5").style.visibility=status;
if (document.getElementById(section + "6")) document.getElementById(section + "6").style.visibility=status;
if (document.getElementById(section + "7")) document.getElementById(section + "7").style.visibility=status;
if (document.getElementById(section + "8")) document.getElementById(section + "8").style.visibility=status;
if (document.getElementById(section + "9")) document.getElementById(section + "9").style.visibility=status;
if (document.getElementById(section + "10")) document.getElementById(section + "10").style.visibility=status;
}
</script>
</head>

<form method="POST" action="./completionInterpreter.php" name="vbform">
	<table class="tborder" cellpadding="0" cellspacing="$stylevar[cellspacing]" border="1" width="100%" align="center" style="border-collapse: collapse" bordercolor="#808080">
		<input type="hidden" name="forumid" VALUE="<?php echo $_GET['forumid'];?>">
		<tr>
			<td colspan="4" class="tcat" align="center">Completion Form</td>
		</tr>  
		<tr>
			<td width="25%" class="alt1">Rush :</td>
			<td width="25%" class="alt1"><input type="radio" value="" name="rush">No<br><input type="radio" name="rush" value="<RUSH!>">yes</td>
			<td class="alt1">Utility Status :</td>
			<td class="alt1">
				Electric : <input type="radio" name="electricstat" value="off">off <input type="radio" name="electricstat" value="on">on<br>
      			Water    : <input type="radio" name="waterstat" value="off">off <input type="radio" name="waterstat" value="on">on<br>
				Gas      : <input type="radio" name="gasstat" value="off">off <input type="radio" name="gasstat" value="on">on
			</td>
		</tr>
		<tr>
			<td width="25%" class="alt1">Date Completed :</td>
			<td width="25%" class="alt1"><input type="text" name="datecomp" size="20"></td>
			<td width="25%" class="alt1">Work Order Number :</td>
			<td width="25%" class="alt1"><input type="text" name="wo" size="20"></td>
		</tr>
		<tr>
			<td width="25%" class="alt1">Mortgage Company :<br>If other :</td>
			<td width="25%" class="alt1">
				<select size="1" name="mortcomp">
				<?
					$i=0;
					while ($i < $mortgagenum) {
					$mortgagelist=mysql_result($mortgageresult,$i,"company");
					if ($mortgagelist != "Other") {
					print "<option>$mortgagelist</option>";
					} else {
					print "<option selected>$mortgagelist</option>";
					}
					++$i;
					}
				?>
				</select><br>
				<input type="text" name="mortcompother" size="20"</td>
			<td width="25%" class="alt1">Loan Number :</td>
			<td width="25%" class="alt1"><input type="text" name="ln" size="20"></td>
		</tr>
		<tr>
      		<td width="25%" class="alt1">Service Company :<br>If other :</td>
      		<td width="25%" class="alt1">
				<select size="1" name="servcomp">
				<?
					$i=0;
					while ($i < $servicenum) {
					$servicelist=mysql_result($serviceresult,$i,"company");
					if ($servicelist != "Other") {
					print "<option>$servicelist</option>";
					} else {
					print "<option selected>$servicelist</option>";
					}
					++$i;
					}
				?>
					</select><br>	
					<input type="text" name="servcompother" size="20"</td>
			<td width="25%" class="alt1">Owner :</td>
      		<td width="25%" class="alt1"><input type="text" name="owner" size="20"></td>
    	</tr>
    	<tr>
      		<td width="25%" class="alt1">Address : </td>
      		<td width="25%" class="alt1"><input type="text" name="address" size="20"></td>
      		<td width="25%" class="alt1">City :</td>
      		<td width="25%" class="alt1"><input type="text" name="city" size="20"></td>
    	</tr>
   		<tr>
      		<td width="25%" class="alt1">Trailer?</td>
			<td width="25%" class="alt1">
      			<input type="radio" name="propertytrailer" value="yes" onclick="trailerInfo(1)">yes<br>
      			<input type="radio" name="propertytrailer" value="no" onclick="trailerInfo(2)">no<br>
				<input type="radio" name="propertytrailer" value="prev" onclick="trailerInfo('prev')">previously reported
      		</td>
       		<td width="25%" class="alt1" id="trailerinfo1" style="visibility:hidden;">Trailer Info<br>
				<input type="button" onclick="trailerInfo()" value="Change">
			</td>
       		<td width="25%" class="alt1" id="trailerinfo2" style="visibility:hidden;"><textarea name="trailerinfo" rows="10" cols="30" readonly="readonly"></textarea></td>
		</tr>
    	<tr>
      		<td width="25%" class="alt1">Conveyance Condition :</td>
      		<td width="25%" class="alt1">
				<input type="radio" value="na" name="convcond" onclick="chVis('convwhy', 'hidden')">n/a<br>
      			<input type="radio" name="convcond" value="yes" onclick="chVis('convwhy', 'hidden')">yes<br>
      			<input type="radio" name="convcond" value="no" onclick="chVis('convwhy', 'visible')">no
			</td>
      		<td width="25%" class="alt1" id="convwhy1" style="visibility:hidden;">If no, why?</td>
      		<td width="25%" class="alt1" id="convwhy2" style="visibility:hidden;"><textarea rows="2" name="convwhy" cols="20"></textarea></td>
    	</tr>
    	<tr>
      		<td width="25%" class="alt1">Secure on Arrival :</td>
      		<td width="25%" class="alt1">
				<input type="radio" name="secariv" value="yes" onclick="chVis('secarivwhy', 'hidden')">yes<br>
      			<input type="radio" name="secariv" value="no" onclick="chVis('secarivwhy', 'visible')">no</td>
      		<td width="25%" class="alt1"id="secarivwhy1" style="visibility:hidden;">If no, why?</td>
      		<td width="25%" class="alt1"id="secarivwhy2" style="visibility:hidden;"><textarea rows="2" name="secarivwhy" cols="20"></textarea></td>
    	</tr>
    	<tr>
      		<td width="25%" class="alt1">Secure on Departure :</td>
      		<td width="25%" class="alt1">
				<input type="radio" name="secdept" value="yes" onclick="chVis('secdeptwhy', 'hidden')">yes<br>
      			<input type="radio" name="secdept" value="no" onclick="chVis('secdeptwhy', 'visible')">no
			</td>
      		<td width="25%" class="alt1" id="secdeptwhy1" style="visibility:hidden;">If no, why?</td>
      		<td width="25%" class="alt1" id="secdeptwhy2" style="visibility:hidden;"><textarea rows="2" name="secdeptwhy" cols="20"></textarea></td>
    	</tr>
    	<tr>
      		<td width="25%" class="alt1" rowspan="4">Pool on Site : </td>
      		<td width="25%" class="alt1" rowspan="4">
				<input type="radio" name="poolsite" value="yes" onclick="chVis('poolstuff', 'visible')">yes<br>
      			<input type="radio" name="poolsite" value="no" onclick="chVis('poolstuff', 'hidden')">no
			</td>
		</tr>
		<tr>
      		<td width="25%" class="alt1" id="poolstuff1" style="visibility:hidden;">If yes, secure?</td>
      		<td width="25%" class="alt1" id="poolstuff2" style="visibility:hidden;">
				<input type="radio" name="poolsec" value="yes">yes<br>
      			<input type="radio" name="poolsec" value="no">no</td>
      	</tr>
      	<tr>
      		<td width="25%" class="alt1" id="poolstuff3" style="visibility:hidden;">Pool Type :</td>
      		<td width="25%" class="alt1" id="poolstuff4" style="visibility:hidden;">
				<input type="radio" name="pooltype" value="above-ground">above ground<br>
    			<input type="radio" name="pooltype" value="in-ground">in ground
			</td>
		</tr>
		<tr>
      		<td width="25%" class="alt1" id="poolstuff5" style="visibility:hidden;">Pool Size :</td>
      		<td width="25%" class="alt1" id="poolstuff6" style="visibility:hidden;"><input type="text" name="poolsize" size="20"></td>
    	</tr>
    	<tr>
      		<td width="25%" class="alt1">Roof Leak : </td>
      		<td width="25%" class="alt1">
				<input type="radio" name="roofleak" value="yes" onclick="chVis('roofleak', 'visible')">yes<br>
      			<input type="radio" name="roofleak" value="no" onclick="chVis('roofleak', 'hidden')">no
			</td>
      		<td width="25%" class="alt1" id="roofleak1" style="visibility:hidden;">If yes, where?</td>
      		<td width="25%" class="alt1" id="roofleak2" style="visibility:hidden;"><textarea rows="2" name="roofleakwhy" cols="20"></textarea></td>
    	</tr>
    	<tr>
      		<td width="25%" class="alt1">Mold :</td>
      		<td width="25%" class="alt1">
				<input type="radio" name="mold" value="yes" onclick="chVis('mold', 'visible')">yes<br>
      			<input type="radio" name="mold" value="no" onclick="chVis('mold', 'hidden')">no
			</td>
      		<td width="25%" class="alt1" id="mold1" style="visibility:hidden;">If yes, where?</td>
      		<td width="25%" class="alt1" id="mold2" style="visibility:hidden;"><textarea rows="2" name="moldwhy" cols="20"></textarea></td>
    	</tr>
    	<tr>
      		<td width="25%" class="alt1">Other Damage :</td>
      		<td width="25%" class="alt1">
				<input type="radio" name="otherdamage" value="yes" onclick="chVis('otherdmg', 'visible')">yes<br>
      			<input type="radio" name="otherdamage" value="no" onclick="chVis('otherdmg', 'hidden')" checked>no
			</td>
      		<td width="25%" rowspan="2" class="alt1" id="otherdmg1" style="visibility:hidden;">If yes, describe :</td>
      		<td width="25%" rowspan="2" class="alt1" id="otherdmg2" style="visibility:hidden;"><textarea rows="2" name="otherwhy" cols="20"></textarea></td>
    	</tr>
    	<tr>
      		<td width="25%" class="alt1">Total Apx. Cost of Damage :</td>
      		<td width="25%" class="alt1"><input type="text" name="costdmg" size="20"></td>
    	</tr>
	</table>

<br>

	<table class="tborder" cellpadding="0" cellspacing="$stylevar[cellspacing]" border="1" width="100%" align="center" style="border-collapse: collapse" bordercolor="#808080">
 	<tr>
		<td class="tcat" align="center" colspan="5">Winterization</td>
	</tr>
   <tr>
      <td width="25%" class="alt1">Winterization :</td>
      <td width="25%" class="alt1">
      
      <input type="radio" name="winterization" value="none" checked>none<br>
      
      <input type="radio" name="winterization" value="complete">complete<br>
      
      <input type="radio" name="winterization" value="bid">bid</td>
      <td width="25%" class="alt1">Price :</td>
      <td width="25%" class="alt1"><input type="text" name="winterwhy" size="20"></td>
    </tr>
    <tr>
      <td width="25%" class="alt1">Water Off At Curb :</td>
      <td width="25%" class="alt1"><input type="radio" name="curboff" value="yes">yes<br>
      
      <input type="radio" name="curboff" value="no">no</td>
      <td width="25%" class="alt1">If no, why?</td>
      <td width="25%" class="alt1"><input type="text" name="curbwhy" size="20"></td>
    </tr>
    <tr>
      <td width="25%" class="alt1">Sump Pump :</td>
      <td width="25%" class="alt1"><input type="radio" name="sumppump" value="yes">yes<br>
      
      <input type="radio" name="sumppump" value="no">no</td>
      <td width="25%" class="alt1">If yes, is it working :</td>
      <td width="25%" class="alt1"><input type="radio" name="sumpwork" value="yes">yes<br>
      
      <input type="radio" name="sumpwork" value="no">no</td>
    </tr>
    <tr>
      <td width="25%" class="alt1">Lines Hold Pressure :</td>
      <td width="25%" class="alt1"><input type="radio" name="linepress" value="yes">yes<br>
      
      <input type="radio" name="linepress" value="no">no</td>
      <td width="25%" class="alt1">If no, why?</td>
      <td width="25%" class="alt1"><textarea rows="2" name="linepresswhy" cols="20"></textarea></td>
    </tr>
    <tr>
      <td width="25%" class="alt1">Freeze Damage :</td>
      <td width="25%" class="alt1"><input type="radio" name="freezedmg" value="yes">yes<br>
      
      <input type="radio" name="freezedmg" value="no">no</td>
      <td width="25%" class="alt1">If yes, describe :</td>
      <td width="25%" class="alt1"><input type="text" name="freezewhy" size="20"></td>
    </tr>
    <tr>
      <td width="50%" colspan="2" class="alt1"><i>
		Meter Readings</i></td>
      <td width="25%" class="alt1">Water :<br>
      Serial Number :<br>Status :</td>
      <td width="50%" class="alt1"><input type="text" name="water" size="20"><br>
      
      <input type="text" name="waterserialnumber" size="20"><br>
      <input type="text" name="waterstatus" size="20"></td>
    </tr>
    <tr>
      <td width="25%" class="alt1">Electric :<br>
      Serial Number :<br>Status :</td>
      <td width="25%" class="alt1"><input type="text" name="electric" size="20"><br>
      
      <input type="text" name="electricserialnumber" size="20"><br>
      <input type="text" name="electricstatus" size="20"></td>
      <td width="25%" class="alt1">Gas :<br>
      Serial Number :<br>Status :</td>
      <td width="25%" class="alt1"><input type="text" name="gas" size="20"><br>
      
      <input type="text" name="gasserialnumber" size="20"><br>
      <input type="text" name="gasstatus" size="20"></td>
    </tr>
</table>
<br>
<table class="tborder" cellpadding="0" cellspacing="$stylevar[cellspacing]" border="1" width="100%" align="center" style="border-collapse: collapse" bordercolor="#808080">
	<tr>
		<td class="tcat" colspan="56" align="center">Lock Work</td>
	</tr>
	<tr>
		<td class="alt1" rowspan="7">
			<input type="radio" name="lockchange" value="none" onclick="chVis('lockrow', 'hidden')" checked>none<br>
			<input type="radio" name="lockchange" value="complete" onclick="chVis('lockrow', 'visible')">complete<br>
			<input type="radio" name="lockchange" value="bid" onclick="chVis('lockrow', 'visible')">bid
		</td>
	</tr>
	<tr>
		<td class="alt1">Type</td><td class="alt1">Keycode</td><td class="alt1">Quantity</td><td class="alt1">Location</td><td class="alt1">Total Price</td>
	</tr>
	<?
	$i=1;
	while ($i < 6) {
print <<<HERE
		<tr id="lockrow$i" style="visibility:hidden;">
		<td class="alt1"><input type="radio" name="locktype$i" value="Knob Lock">Knob Lock<br><input type="radio" name="locktype$i" value="Padlock">Padlock</td>
		<td class="alt1">
			<select size="1" name="lockkey$i">
HERE;
					$ii=0;
					while ($ii < $keynum) {
					$keylist=mysql_result($keyresult,$ii,"code");
					print "<option"; if ($keylist == "Other"){print " selected";} print ">$keylist</option>";
					++$ii;
					}
print <<<HERE
      		</select>
			<br>
			<input type="text" name="keyother$i" size="10">
		</td>
		<td class="alt1"><input type="text" size="4" name="lockqty$i"></td>
		<td class="alt1"><input type="text" size="20" name="locklocation$i"></td>
		<td class="alt1"><input type="text" size="7" name="lockprice$i"></td>
		</tr>
HERE;
		++$i;
	}
	?>
	</tr>
</table>
<br>
<table class="tborder" cellpadding="0" cellspacing="$stylevar[cellspacing]" border="1" width="100%" align="center" style="border-collapse: collapse" bordercolor="#808080">
		<tr>
			<td class="tcat" colspan="5" align="center">Glass</td>
		</tr>
		<tr>
			<td class="alt1" rowspan="7">
				<input type="radio" name="glass" value="none" onclick="chVis('glassrow', 'hidden')" checked>none<br>
				<input type="radio" name="glass" value="complete" onclick="chVis('glassrow', 'visible')">complete<br>
				<input type="radio" name="glass" value="bid" onclick="chVis('glassrow', 'visible')">bid
			</td>
		</tr>
		<tr>
			<td class="alt1">Quantity</td><td class="alt1">Size<br>LxW</td><td class="alt1">Location</td><td class="alt1">Price</td>
		</tr>
		<?
		$i=1;
		while ($i < 6) {
print <<<HERE
			<tr id="glassrow$i" style="visibility:hidden;">
			<td class="alt1"><input type="text" size="4" name="glassqty$i"></td>
			<td class="alt1"><input type="text" size="4" name="glasslength$i"> x <input type="text" size="4" name="glasswidth$i"></td>
			<td class="alt1"><input type="text" size="20" name="glasslocation$i"></td>
			<td class="alt1"><input type="text" size="7" name="glassprice$i"></td>
			</tr>
HERE;
			++$i;
		}
		?>
		<tr>
			<td class="tcat" colspan="5" align="center">Boarding</td>
		</tr>
		<tr>
			<td class="alt1" rowspan="7">
				<input type="radio" name="boarding" value="none" onclick="chVis('boardrow', 'hidden')" checked>none<br>
				<input type="radio" name="boarding" value="complete" onclick="chVis('boardrow', 'visible')">complete<br>
				<input type="radio" name="boarding" value="bid" onclick="chVis('boardrow', 'visible')">bid
			</td>
		</tr>
		<tr>
			<td class="alt1">Quantity</td><td class="alt1">Size<br>LxW</td><td class="alt1">Location</td><td class="alt1">Price</td>
		</tr>
		<?
		$i=1;
		while ($i < 6) {
print <<<HERE
			<tr id="boardrow$i" style="visibility:hidden;">
			<td class="alt1"><input type="text" size="4" name="boardqty$i"></td>
			<td class="alt1"><input type="text" size="4" name="boardlength$i"> x <input type="text" size="4" name="boardwidth$i"></td>
			<td class="alt1"><input type="text" size="20" name="boardlocation$i"></td>
			<td class="alt1"><input type="text" size="7" name="boardprice$i"></td>
		</tr>
HERE;
			++$i;
		}
		?>
		<tr>
		<td class="tcat" colspan="5" align="center">Debris/Hazards</td>
	</tr>
    <tr>
      <td width="25%" rowspan="2" class="alt1" colspan="2">
		Interior Debris :</td>
      <td width="25%" rowspan="2" class="alt1">
      
      <input type="radio" name="intdebris" value="none" checked>none<br>
      
      <input type="radio" name="intdebris" value="complete">complete<br>
      
      <input type="radio" name="intdebris" value="bid">bid</td>
      <td width="25%" class="alt1">Cubic yards &amp; description :</td>
      <td width="25%" class="alt1"><textarea rows="2" name="intyards" cols="20"></textarea></td>
    </tr>
    <tr>
      <td width="25%" class="alt1">Price :</td>
      <td width="25%" class="alt1"><input type="text" name="intprice" size="20"></td>
    </tr>
    <tr>
      <td width="25%" rowspan="2" class="alt1" colspan="2">
		Exterior Debris :</td>
      <td width="25%" rowspan="2" class="alt1">
      
      <input type="radio" name="extdebris" value="none" checked>none<br>
      
      <input type="radio" name="extdebris" value="complete">complete<br>
      
      <input type="radio" name="extdebris" value="bid">bid</td>
      <td width="25%" class="alt1">Cubic yards &amp; description :<br>
&nbsp;</td>
      <td width="25%" class="alt1"><textarea rows="2" name="extyards" cols="20"></textarea></td>
    </tr>
    <tr>
      <td width="25%" class="alt1">Price :</td>
      <td width="25%" class="alt1"><input type="text" name="extprice" size="20"></td>
    </tr>
    <tr>
      <td width="13%" class="alt1" rowspan="2">
		Interior Hazards :</td>
      <td width="12%" class="alt1" rowspan="2">
      
      <input type="radio" name="inthazards" value="unknown" checked>unknown<br>
      
      <input type="radio" name="inthazards" value="na">n/a<br>
      
      <input type="radio" name="inthazards" value="no">none</td>
      <td width="25%" class="alt1" rowspan="2">
      
      <input type="radio" name="inthazards" value="complete">complete<br>
      
      <input type="radio" name="inthazards" value="bid">bid<br>
      
      <input type="radio" name="inthazards" value="outstanding bid">outstanding bid</td>
      <td width="25%" class="alt1">Description :</td>
      <td width="25%" class="alt1"><textarea rows="2" name="inthazwhy" cols="20"></textarea></td>
    </tr>
    <tr>
      <td width="25%" class="alt1">Price :</td>
      <td width="25%" class="alt1">
		
		<input type="text" name="inthazprice" size="20"></td>
    </tr>
    <tr>
      <td width="13%" class="alt1" rowspan="2">
		Exterior Hazards :</td>
      <td width="12%" class="alt1" rowspan="2">
      
      <input type="radio" name="exthazards" value="unknown" checked>unknown<br>
      
      <input type="radio" name="exthazards" value="na">n/a<br>
      
      <input type="radio" name="exthazards" value="no">none</td>
      <td width="25%" class="alt1" rowspan="2">
      
      <input type="radio" name="exthazards" value="complete">complete<br>
      
      <input type="radio" name="exthazards" value="bid">bid<br>
      
      <input type="radio" name="exthazards" value="outstanding bid">outstanding 
      bid</td>
      <td width="25%" class="alt1">Description :</td>
      <td width="25%" class="alt1"><textarea rows="2" name="exthazwhy" cols="20"></textarea></td>
    </tr>
    <tr>
      <td width="25%" class="alt1">Price :</td>
      <td width="25%" class="alt1">
		
		<input type="text" name="exthazprice" size="20"></td>
    </tr>
	<tr>
		<td class="tcat" colspan="5" align="center">Personal Property</td>
	</tr>
    <tr>
      <td width="15%" class="alt1" rowspan="2">
		Interior Personal Property :</td>
      <td width="10%" class="alt1" rowspan="2">
      
      <input type="radio" name="intpersproperty" value="unknown" checked>unknown<br>
      
      <input type="radio" name="intpersproperty" value="na">n/a<br>
      
      <input type="radio" name="intpersproperty" value="no">none</td>
      <td width="25%" class="alt1" rowspan="2">
      
      <input type="radio" name="intpersproperty" value="complete">complete<br>
      
      <input type="radio" name="intpersproperty" value="bid">bid<br>
      
      <input type="radio" name="intpersproperty" value="outstanding bid">outstanding 
      bid</td>
      <td width="25%" class="alt1">Description &amp; APX Value :</td>
      <td width="25%" class="alt1">
      
      <textarea rows="2" name="intperspropwhy" cols="20"></textarea></td>
    </tr>
    <tr>
      <td width="25%" class="alt1">Price :</td>
      <td width="25%" class="alt1">
      
      <input type="text" name="intpersprice" size="20"></td>
    </tr>
    <tr>
      <td width="15%" class="alt1" rowspan="2">
		Exterior Personal Property :</td>
      <td width="10%" class="alt1" rowspan="2">
      
      <input type="radio" name="extpersproperty" value="unknown" checked>unknown<br>
      
      <input type="radio" name="extpersproperty" value="na">n/a<br>
      
      <input type="radio" name="extpersproperty" value="no">none</td>
      <td width="25%" class="alt1" rowspan="2">
      
      <input type="radio" name="extpersproperty" value="complete">complete<br>
      
      <input type="radio" name="extpersproperty" value="bid">bid<br>
      
      <input type="radio" name="extpersproperty" value="outstanding bid">outstanding 
      bid</td>
      <td width="25%" class="alt1">Description &amp; APX Value :</td>
      <td width="25%" class="alt1">
      
      <textarea rows="2" name="extperspropwhy" cols="20"></textarea></td>
    </tr>
    <tr>
      <td width="25%" class="alt1">Price :</td>
      <td width="25%" class="alt1">
      
      <input type="text" name="extpersprice" size="20"></td>
    </tr>
    <tr>
      <td width="25%" class="alt1" colspan="2">
		Storage of Pers. Prop. :</td>
      <td width="25%" class="alt1">
      
      <input type="radio" name="storepersprop" value="none" checked>none<br>
      
      <input type="radio" name="storepersprop" value="complete">complete<br>
      
      <input type="radio" name="storepersprop" value="bid">bid</td>
      <td width="25%" class="alt1">Price :</td>
      <td width="25%" class="alt1"><textarea rows="2" name="storewhy" cols="20"></textarea></td>
    </tr>
	<tr>
		<td class="tcat" colspan="5" align="center">Grass</td>
	</tr>
    <tr>
      <td width="25%" class="alt1" colspan="2">
      Initial Grass Cut :</td>
      <td width="25%" class="alt1">
      
      <input type="radio" name="grasscut" value="none" checked>none<br>
      
      <input type="radio" name="grasscut" value="complete">complete<br>
      
      <input type="radio" name="grasscut" value="bid">bid</td>
      <td width="25%" class="alt1">Lot Size :<br>
      Height :<br>
      Price :</td>
      <td width="25%" class="alt1">
      
      <input type="text" name="grasscutsize" size="20"><br>
      
      <input type="text" name="grasscutheight" size="20"><br>
      
      <input type="text" name="grasscutamount" size="20"></td>
    </tr>
    <tr>
      <td width="25%" class="alt1" colspan="2">
      Grass Recut :</td>
      <td width="25%" class="alt1">
      
      <input type="radio" name="grassrecut" value="none" checked>none<br>
      
      <input type="radio" name="grassrecut" value="complete">complete<br>
      
      <input type="radio" name="grassrecut" value="bid">bid</td>
      <td width="25%" class="alt1">Lot Size :<br>
      Height :<br>
      Price :</td>
      <td width="25%" class="alt1">
      
      <input type="text" name="recutsize" size="20"><br>
      
      <input type="text" name="recutheight" size="20"><br>
      
      <input type="text" name="recutamount" size="20"></td>
    </tr>
    <tr>
      <td width="25%" class="alt1" colspan="2">
      Debris in way of cut? :</td>
      <td width="25%" class="alt1">
      
      <input type="radio" name="debrisinway" value="yes">yes<br>
      
      <input type="radio" name="debrisinway" value="no">no</td>
      <td width="25%" class="alt1">+</td>
      <td width="25%" class="alt1">
      +</td>
    </tr>
	<tr>
		<td class="tcat" colspan="5" align="center">Other Services</td>
	</tr>
    <tr>
      <td width="25%" class="alt1" colspan="2" rowspan="2">
		Automobile Removal :</td>
      <td width="25%" class="alt1" rowspan="2">
      
      <input type="radio" name="autoremove" value="none" checked>none<br>
      
      <input type="radio" name="autoremove" value="complete">complete<br>
      
      <input type="radio" name="autoremove" value="bid">bid</td>
      <td width="25%" class="alt1">Description :</td>
      <td width="25%" class="alt1"><textarea rows="2" name="autowhy" cols="20"></textarea></td>
    </tr>
    <tr>
      <td width="25%" class="alt1">Price</td>
      <td width="25%" class="alt1"><input type="text" name="autoprice" size="20"></td>
    </tr>
    <tr>
      <td width="25%" class="alt1" colspan="2" rowspan="2">
      
      <input type="text" name="other1" size="20" value="Other"></td>
      <td width="25%" class="alt1" rowspan="2">
      
      <input type="radio" name="otherfield1" value="complete">complete<br>
      
      <input type="radio" name="otherfield1" value="bid">bid</td>
      <td width="25%" class="alt1">Description :</td>
      <td width="25%" class="alt1">
      
      <textarea rows="2" name="otherarea1" cols="20"></textarea></td>
    </tr>
    <tr>
      <td width="25%" class="alt1">Price :</td>
      <td width="25%" class="alt1">
      
      <input type="text" name="otherprice1" size="20"></td>
    </tr>
    <tr>
      <td width="25%" class="alt1" colspan="2" rowspan="2">
      
      <input type="text" name="other2" size="20" value="Other"></td>
      <td width="25%" class="alt1" rowspan="2">
      
      <input type="radio" name="otherfield2" value="complete">complete<br>
      
      <input type="radio" name="otherfield2" value="bid">bid</td>
      <td width="25%" class="alt1">Description :</td>
      <td width="25%" class="alt1">
      
      <textarea rows="2" name="otherarea2" cols="20"></textarea></td>
    </tr>
    <tr>
      <td width="25%" class="alt1">Price :</td>
      <td width="25%" class="alt1">
      
      <input type="text" name="otherprice2" size="20"></td>
    </tr>
    <tr>
      <td width="25%" class="alt1" colspan="2" rowspan="2">
      
      <input type="text" name="other3" size="20" value="Other"></td>
      <td width="25%" class="alt1" rowspan="2">
      
      <input type="radio" name="otherfield3" value="complete">complete<br>
      
      <input type="radio" name="otherfield3" value="bid">bid</td>
      <td width="25%" class="alt1">Description :</td>
      <td width="25%" class="alt1">
      
      <textarea rows="2" name="otherarea3" cols="20"></textarea></td>
    </tr>
    <tr>
      <td width="25%" class="alt1">Price :</td>
      <td width="25%" class="alt1">
      
      <input type="text" name="otherprice3" size="20"></td>
    </tr>
</table>
<br>
<table class="tborder" cellpadding="0" cellspacing="$stylevar[cellspacing]" border="1" width="100%" align="center" style="border-collapse: collapse" bordercolor="#808080">
 	<tr>
		<td class="tcat" align="center" colspan="5">Invoicing/Comments</td>
	</tr>
    <tr>
      <td width="50%" class="alt1" rowspan="3">Comments :<br>
      
      <textarea rows="10" name="comments" cols="60" WRAP="physical"></textarea></td>
      <td width="25%" class="alt1">Invoice # :</td>
      <td width="25%" class="alt1"><input type="text" name="invoicenumber" size="20"></td>
    </tr>
    <tr>
      <td width="25%" class="alt1">Total Completed Amount :<br>
		<font color="#FF0000">BEFORE DISCOUNT</font></td>
      <td width="25%" class="alt1"><input type="text" name="totalamount" size="20"></td>
    </tr>
    <tr>
      <td width="25%" class="alt1">Discount Percentage (ie. &quot;40&quot;) :<br>
		<font color="#FF0000">DO NOT INCLUDE % SIGN!</font></td>
      <td width="25%" class="alt1"><input type="text" name="percentage" size="20"></td>
    </tr>
</table>
  <p><input type="submit" value="View Completion" name="B1"></p>
</br>
</form>
</body>
</html>
Reply With Quote
  #2  
Old 12-07-2006, 04:59 PM
Antivirus's Avatar
Antivirus Antivirus is offline
 
Join Date: Sep 2004
Location: Black Lagoon
Posts: 1,090
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

retsell, you figure out a fix for this problem yet? I'm having same issues with some of my custom forms as well.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:19 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07135 seconds
  • Memory Usage 2,353KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (2)post_thanks_box
  • (2)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit_info
  • (2)postbit
  • (2)postbit_onlinestatus
  • (2)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete