Current File : /home/inlingua/www/noida/icentex/admin_cert/ingl_billing_main.form.php
<?php
//  Created on: 12-04-2013

// Include header
include "header_cert.php";
?>

<h3 class='pa-nor-navbar'><a href='index.php'>Home</a> >> <a href='ingl_billing_main.select.php'>ingl_billing_main</a> >> ingl_billing_main</h3>

<?php
echo $succFailMesg; 

// Show result of a form submission?
if ($showResult == "Y")
{	echo "<br><a href='ingl_billing_main.select.php'>Back</a><br>";
	// Include footer
	include "footer_cert.php";
	return; 
}

?>

<script type="text/javascript" src="../jquery/js/jquery.validate.js"></script>

<script language="javascript">
<!--
function validate1(form) 
{	if (form.recNo.value=="")
	{	alert("recNo cannot be blank. Please enter it.");
		form.recNo.focus(); return false;
	}
	return true;
}
-->
</script>

<form id='aForm' method='post' action='ingl_billing_main.main.php' onsubmit="return validate(this)">
<input type='hidden' name='recNo' class='required' value="<?php echo $dbObject->getDbField('recNo');?>">
<input type='hidden' name='bill_category' value="<?php echo $dbObject->getDbField('bill_category');?>">
<input type='hidden' name='kV' value="<?php echo $_REQUEST['kV'];?>">
<table border='0' class='pa-nor'>
<tr valign='top'><td>Bill Details:</td><td><textarea wrap='virtual' rows='3' cols='50' name='bill_details' class="required"><?php echo $dbObject->getDbField('bill_details');?></textarea></td><td></td></tr>
<tr valign='top'><td>Amount</td><td><input type='text' name='amount' value="<?php echo $dbObject->getDbField('amount');?>" size='10' maxlength='10' class="required"></td><td></td></tr>
<tr valign='top'><td>Tax Amount</td><td><input type='text' name='tax_amount' value="<?php echo $dbObject->getDbField('tax_amount');?>" size='10' maxlength='10' class="required"></td><td></td></tr>
<tr><td colspan='3'><input type='submit' name='aC' value='<?php echo $currentMode;?>'></td></tr>
</table>
</form>




<script>
$(function() {
	$('#aForm').validate({
		errorPlacement: function(error, element) 
		{   error.appendTo( element.parent("td").next("td") );
		} 
	});
});
</script>

<?php
// Include footer
include "footer_cert.php";
?>