Current File : /home/inlingua/public_html/noida/icentex/admin_oral/ingl_oral_cost.form.php |
<?php
// Created on: 19-02-2015
// Include header
include "header_oral.php";
?>
<span class='pa-nor-navbar'><a href='index.php'>Home</a> >> <a href='ingl_oral_cost.select.php'>ingl_oral_cost</a> >> ingl_oral_cost</span><br><br>
<?php
echo $succFailMesg;
// Show result of a form submission?
if ($showResult == "Y")
{ echo "<br><a href='ingl_oral_cost.select.php'>Back</a><br>";
// Include footer
include "footer_oral.php";
return;
}
?>
<script type="text/javascript" src="js/jquery.validate.min.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_oral_cost.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>Cost of Oral</td><td><input type='text' name='cost_oral' value="<?php echo $dbObject->getDbField('cost_oral');?>" 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_oral.php";
?>