Current File : /home/inlingua/public_html/icentex/admin_cert/ingl_billing_cat.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_cat.select.php'>ingl_billing_cat</a> >> ingl_billing_cat</h3>
<?php
echo $succFailMesg;
// Show result of a form submission?
if ($showResult == "Y")
{ echo "<br><a href='ingl_billing_cat.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_cat.main.php' onsubmit="return validate(this)">
<input type='hidden' name='recNo' class='required' value="<?php echo $dbObject->getDbField('recNo');?>">
<input type='hidden' name='kV' value="<?php echo $_REQUEST['kV'];?>">
<table border='0' class='pa-nor'>
<tr valign='top'><td>Bill Category</td><td><input type='text' name='bill_category' value="<?php echo $dbObject->getDbField('bill_category');?>" size='20' maxlength='250' 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";
?>