I success doing validation form before submit...the problem is I can't appear alert box for success submitted after validation and go to another page...


When I doing alert box for success submitted (it's success)....but the alert box for validation does not working

I success doing validation form before submit...the problem is I can't appear alert box for success submitted after validation and go to another page...


When I doing alert box for success submitted (it's success)....but the alert box for validation does not working

please post the code so we can help you out better

<?php require_once('Connections/evaluation.php'); ?>
<?php
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") 
{
  $theValue = (!get_magic_quotes_gpc()) ? addslashes($theValue) : $theValue;

  switch ($theType) {
    case "text":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;    
    case "long":
    case "int":
      $theValue = ($theValue != "") ? intval($theValue) : "NULL";
      break;
    case "double":
      $theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";
      break;
    case "date":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;
    case "defined":
      $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
      break;
  }
  return $theValue;
}

$editFormAction = $_SERVER['PHP_SELF'];
if (isset($_SERVER['QUERY_STRING'])) {
  $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
}

if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form")) {
  $insertSQL = sprintf("INSERT INTO evaluate (staff_no, training_no, reaction_criteria, learning_criteria, facilities_criteria, trainer_name1, trainer_1, trainer_name2, trainer_2, comment_suggest) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s)",
                       GetSQLValueString($_POST['no'], "int"),
                       GetSQLValueString($_POST['no'], "int"),
                       GetSQLValueString($_POST['total1'], "int"),
                       GetSQLValueString($_POST['total2'], "int"),
                       GetSQLValueString($_POST['total5'], "int"),
                       GetSQLValueString($_POST['trainer1'], "text"),
                       GetSQLValueString($_POST['total3'], "int"),
                       GetSQLValueString($_POST['trainer8'], "text"),
                       GetSQLValueString($_POST['total4'], "int"),
                       GetSQLValueString($_POST['suggest'], "text"));

  mysql_select_db($database_evaluation, $evaluation);
  $Result1 = mysql_query($insertSQL, $evaluation) or die(mysql_error());
}

if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form")) {
  $insertSQL = sprintf("INSERT INTO staff (staff_no, staff_name, staff_department, staff_designation) VALUES (%s, %s, %s, %s)",
                       GetSQLValueString($_POST['no'], "int"),
                       GetSQLValueString($_POST['name'], "text"),
                       GetSQLValueString($_POST['department'], "text"),
                       GetSQLValueString($_POST['designation'], "text"));

  mysql_select_db($database_evaluation, $evaluation);
  $Result1 = mysql_query($insertSQL, $evaluation) or die(mysql_error());
}

if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form")) {
  $insertSQL = sprintf("INSERT INTO training (training_no, training_name, training_cost, training_venue, training_date, training_organizer) VALUES (%s, %s, %s, %s, %s, %s)",
                       GetSQLValueString($_POST['no'], "int"),
                       GetSQLValueString($_POST['course'], "text"),
                       GetSQLValueString($_POST['cost'], "double"),
                       GetSQLValueString($_POST['venue'], "text"),
                       GetSQLValueString($_POST['date'], "date"),
                       GetSQLValueString($_POST['organizer'], "text"));

  mysql_select_db($database_evaluation, $evaluation);
  $Result1 = mysql_query($insertSQL, $evaluation) or die(mysql_error());
}

mysql_select_db($database_evaluation, $evaluation);
$query_Recordset1 = "SELECT * FROM evaluate, staff, training WHERE staff.staff_no= training.training_no";
$Recordset1 = mysql_query($query_Recordset1, $evaluation) or die(mysql_error());
$row_Recordset1 = mysql_fetch_assoc($Recordset1);
$totalRows_Recordset1 = mysql_num_rows($Recordset1);
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>EVALUATION FORM</title>

<!-- link calendar files  -->
    <script language="JavaScript" src="calendar_db.js"></script>
    <link rel="stylesheet" href="calendar.css">

<script type="text/javascript">
function myfunction()
{
   a=document.form.objective.value;
    b=parseInt(a);
   c=document.form.topic.value;
    d=parseInt(c);
    e=document.form.coordination.value;
    f=parseInt(e);
    g=document.form.instructor.value;
    t=parseInt(g);
    h=document.form.audiovisual.value;
    i=parseInt(h);
    j=document.form.enjoy.value;
    k=parseInt(j);
    l=document.form.recommend.value;
    m=parseInt(l);
   n = (b+d+f+t+i+k+m);
   document.form.total1.value =n;

    a1=document.form.benefit.value;
    b1=parseInt(a1);
   c1=document.form.learnt.value;
    d1=parseInt(c1);
    e1=document.form.apply.value;
    f1=parseInt(e1);
    g1=document.form.aspires.value;
    t1=parseInt(g1);
    h1=document.form.share.value;
    i1=parseInt(h1);
    j1=document.form.motivate.value;
    k1=parseInt(j1);
    l1=document.form.asset.value;
    m1=parseInt(l1);
   n1 = (b1+d1+f1+t1+i1+k1+m1);
   document.form.total2.value =n1;

    a2=document.form.trainer2.value;
    b2=parseInt(a2);
   c2=document.form.trainer3.value;
    d2=parseInt(c2);
    e2=document.form.trainer4.value;
    f2=parseInt(e2);
    g2=document.form.trainer5.value;
    t2=parseInt(g2);
    h2=document.form.trainer6.value;
    i2=parseInt(h2);
   n2 = (b2+d2+f2+t2+i2);
   document.form.total3.value =n2;

    a3=document.form.trainer9.value;
    b3=parseInt(a3);
   c3=document.form.trainer10.value;
    d3=parseInt(c3);
    e3=document.form.trainer11.value;
    f3=parseInt(e3);
    g3=document.form.trainer12.value;
    t3=parseInt(g3);
    h3=document.form.trainer13.value;
    i3=parseInt(h3);
   n3 = (b3+d3+f3+t3+i3);
   document.form.total4.value =n3;

    a4=document.form.trainer15.value;
    b4=parseInt(a4);
   c4=document.form.trainer16.value;
    d4=parseInt(c4);
    e4=document.form.trainer17.value;
    f4=parseInt(e4);
    g4=document.form.trainer18.value;
    t4=parseInt(g4);
    h4=document.form.trainer19.value;
    i4=parseInt(h4);
    j4=document.form.trainer20.value;
    k4=parseInt(j4);
   n4= (b4+d4+f4+t4+i4+k4);
   document.form.total5.value =n4;
}
</script>
<script language="JavaScript" src="validator.js"></script>
<style>
/* classes for validator */
    .tfvHighlight
        {font-weight: bold; color: red;}
    .tfvNormal
        {color: black;}
    .inputHighlighted
        {font-weight: bold; color: red;}
    .inputNormal
        {color: black;}
</style>
</head>
<body>
<body bgcolor="#000000">
        <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" 
        codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="1225" height="150" 
        id = "header33" align="center">
        <param name="allowScriptAccess" value="sameDomain" />
        <param name="movie" value="header33.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" />
        <embed src="header33.swf" quality="high" bgcolor="#000000" width="1225" height="150" name="header33" align="center"  allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
    </object>
    <hr>
    <p>
<table border = "0"  cellpading="0" cellspacing="0" background="images/background6.jpg">
            <tr>
                <td>
                    <div align="center">
                            <p>

                            <form action="<?php echo $editFormAction; ?>" method="POST" name="form" onsubmit="return v.exec()">
                                <table border="1" cellpading="2" cellspacing="2" style="background:#ffffff">
                                    <tr>
                                        <td>No</td>
                                        <th><input type = "text" name="no" size="10" onFocus="this.blur()" value="<?php echo $totalRows_Recordset1 + 1 ?>"/> </th>
                                    </tr>
                                </table>
                            <br>
                            </p>
                            <br>
                            <p>
                                <table border="1" cellpading="2" cellspacing="2" style="background:#ffffff">
                                    <tr>
                                        <td id="staff_name">Staff Name:<span class="inputHighlighted">*</span></td>
                                            <th><input type="text" name="name" size = "50"></th>
                                        <td id="course_title">Course Title:<span class="inputHighlighted">*</span></td>
                                            <th><select name="course">
                                                <option value="">-Select Course Title-</option>
                                                <option value="10 Ways to Cope With Your Stress ">10 Ways to Cope With Your Stress </option>
                                                <option value="11/33kV Substation Operation">11/33kV Substation Operation</option>
                                                <option value="13E2 User Conference">13E2 User Conference</option>
                                                <option value="8 habits of Highly Effective People">8 habits of Highly Effective People</option>
                                                <option value="ABB Powergen Seminar">ABB Powergen Seminar</option>
                                                <option value="AC/DC Motor Maintenance">AC/DC Motor Maintenance</option>
                                                <option value="Account Cost Center and GL Account">Account Cost Center and GL Account</option>
                                                <option value="Accounting Standards & Tax Management">Accounting Standards & Tax Management</option>
                                                <option value="Achieving Personal Effectiveness At Work">Achieving Personal Effectiveness At Work</option>
                                                <option value="Advance Performance Monitoring">Advance Performance Monitoring</option>
                                                <option value="Advance Process Troubleshooting">Advance Process Troubleshooting</option>
                                                <option value="Advance Water Chemistry">Advance Water Chemistry</option>
                                                <option value="Advanced Inspection Technique">Advanced Inspection Technique</option>
                                                <option value="Advant P (AC160 & AC450)">Advant P (AC160 & AC450)</option>
                                                <option value="Advant-P System (AC331 & AC 351)">Advant-P System (AC331 & AC 351)</option>
                                                <option value="Alignment & Balancing">Alignment & Balancing</option>
                                                <option value="Allen Bradley">Allen Bradley</option>
                                                <option value="API 570 Piping Inspection & Certification">API 570 Piping Inspection & Certification</option>
                                                <option value="Appreciation of NDT Techniques">Appreciation of NDT Techniques</option>
                                                <option value="AUMA Motorised Actuator Maintenance">AUMA Motorised Actuator Maintenance</option>
                                                <option value="AUMA Motorised Valve">AUMA Motorised Valve</option>
                                                <option value="Authorised Gas Tester for Confined Space">Authorised Gas Tester for Confined Space</option>
                                                <option value="B4 Chargeman Course">B4 Chargeman Course</option>
                                                <option value="Basic Hydraulic">Basic Hydraulic</option>
                                                <option value="Basic Power System Protection">Basic Power System Protection</option>
                                                <option value="Basic Principle of Electro-hydraulic(EHG)- Bosch Rexroth Sdn Bhd">Basic Principle of Electro-hydraulic(EHG)- Bosch Rexroth Sdn Bhd</option>
                                                <option value="Basic Purchasing & Contract">Basic Purchasing & Contract</option>
                                                <option value="Basic Scaffolding">Basic Scaffolding</option>
                                                <option value="Bearing Technology - Advanced Level">Bearing Technology - Advanced Level</option>
                                                <option value="Bearing Technology - Basic Level">Bearing Technology - Basic Level</option>
                                                <option value="Bearing Technology - Entry Level">Bearing Technology - Entry Level</option>
                                                <option value="BEM - Engineering Management Practise">BEM - Engineering Management Practise</option>
                                                <option value="Bentley Nevada System">Bentley Nevada System</option>
                                                <option value="Boiler & Burner Management System">Boiler & Burner Management System</option>
                                                <option value="Boiler Inspection & Repair">Boiler Inspection & Repair</option>
                                                <option value="Boiler Operation & Control">Boiler Operation & Control</option>
                                                <option value="Boiler Operation, Maintenance & Troubleshooting">Boiler Operation, Maintenance & Troubleshooting</option>
                                                <option value="Boiler Tube Failure Analysis">Boiler Tube Failure Analysis</option>
                                                <option value="Budget">Budget</option>
                                                <option value="Building Purchasing Power">Building Purchasing Power</option>
                                                <option value="Cathodic Protection">Cathodic Protection</option>
                                                <option value="CBM Technology">CBM Technology</option>
                                                <option value="CCGT Plant Improvement Workshop">CCGT Plant Improvement Workshop</option>
                                                <option value="Centrifugal Pump and Pumping System">Centrifugal Pump and Pumping System</option>
                                                <option value="Chemical Safety, Handling & Management">Chemical Safety, Handling & Management</option>
                                                <option value="Clerical & Administration Enhancement Skills">Clerical & Administration Enhancement Skills</option>
                                                <option value="Coaching, Mentoring Skills for Managers">Coaching, Mentoring Skills for Managers</option>
                                                <option value="Coal Handling System Maintenance">Coal Handling System Maintenance</option>
                                                <option value="Compressor Operation, Maintenance & Troubleshooting">Compressor Operation, Maintenance & Troubleshooting</option>
                                                <option value="Condition Monitoring & Assessment of Electrical">Condition Monitoring & Assessment of Electrical</option>
                                                <option value="Control Valve">Control Valve</option>
                                                <option value="Control Valve Field View">Control Valve Field View</option>
                                                <option value="Control Valve Fieldvue">Control Valve Fieldvue</option>
                                                <option value="Control Valve Sizing, Selection and Maintenance">Control Valve Sizing, Selection and Maintenance</option>
                                                <option value="Conversational English Program">Conversational English Program</option>
                                                <option value="Cooling Tower Operation, Selection & Maintenance">Cooling Tower Operation, Selection & Maintenance</option>
                                                <option value="Cooling Water & Cooling Tower Water Chemistry">Cooling Water & Cooling Tower Water Chemistry</option>
                                                <option value="Corrosion Technology & Management">Corrosion Technology & Management</option>
                                                <option value="Cost-centred Reliability Maintenance">Cost-centred Reliability Maintenance</option>
                                                <option value="Creating Webpage to Public">Creating Webpage to Public</option>
                                                <option value="Data Communication & Networking">Data Communication & Networking</option>
                                                <option value="Design and Maintenance Strategies for Bulk Storage Tank">Design and Maintenance Strategies for Bulk Storage Tank</option>
                                                <option value="Distributed Control System">Distributed Control System</option>
                                                <option value="Effective Business Writing Program">Effective Business Writing Program</option>
                                                <option value="Effective Operation & Troubleshooting Centralised Aircond System">Effective Operation & Troubleshooting Centralised Aircond System</option>
                                                <option value="Effective Planning & Time Management">Effective Planning & Time Management</option>
                                                <option value="Effective Supervisory Skills">Effective Supervisory Skills</option>
                                                <option value="Electrical A0/A1 Chargeman">Electrical A0/A1 Chargeman</option>
                                                <option value="Electrical A4/B0 Chargeman">Electrical A4/B0 Chargeman</option>
                                                <option value="Electrical Competence Person">Electrical Competence Person</option>
                                                <option value="Electrical Engineering for Non-Electrical Engineer">Electrical Engineering for Non-Electrical Engineer</option>
                                                <option value="Electrical Protection System">Electrical Protection System</option>
                                                <option value="Electrical Safety">Electrical Safety</option>
                                                <option value="Electrical Safety & High Voltage Operation">Electrical Safety & High Voltage Operation</option>
                                                <option value="Electrical Safety and Prevention of Electrical Hazards">Electrical Safety and Prevention of Electrical Hazards</option>
                                                <option value="Electrical Wiring Design, Installation and Testing">Electrical Wiring Design, Installation and Testing</option>
                                                <option value="Electro-Pneumatic (EPG)- Bosch Rexroth Sdn Bhd">Electro-Pneumatic (EPG)- Bosch Rexroth Sdn Bhd</option>
                                                <option value="Emergency Planning">Emergency Planning</option>
                                                <option value="Engineering Maths">Engineering Maths</option>
                                                <option value="Engineering Steel and Alloy Workshop">Engineering Steel and Alloy Workshop</option>
                                                <option value="Everyday Business Writing Program">Everyday Business Writing Program</option>
                                                <option value="Excellent Teamwork via 10Q's">Excellent Teamwork via 10Q's</option>
                                                <option value="Fieldvue/valvelink (Valve Signature Interpretation)">Fieldvue/valvelink (Valve Signature Interpretation)</option>
                                                <option value="Finance & Business">Finance & Business</option>
                                                <option value="Finance for Non-Finance Executives">Finance for Non-Finance Executives</option>
                                                <option value="Finance for Non-Finance Managers">Finance for Non-Finance Managers</option>
                                                <option value="Financial Management">Financial Management</option>
                                                <option value="First Aid & CPR Training">First Aid & CPR Training</option>
                                                <option value="Fitness-for-Service (FFS) Assessment, Based On The New API 579-1/ASME FFS-1 2007 - TWI">Fitness-for-Service (FFS) Assessment, Based On The New API 579-1/ASME FFS-1 2007 - TWI</option>
                                                <option value="Gas Turbine Aligment Work">Gas Turbine Aligment Work</option>
                                                <option value="Gas Turbine Hot Section Component Refurbishment">Gas Turbine Hot Section Component Refurbishment</option>
                                                <option value="Gas Turbine Operation & Control">Gas Turbine Operation & Control</option>
                                                <option value="Gas Turbine Operation & Maintenance">Gas Turbine Operation & Maintenance</option>
                                                <option value="Gas Turbine Performance">Gas Turbine Performance</option>
                                                <option value="Gas Turbine Trouble Shooting">Gas Turbine Trouble Shooting</option>
                                                <option value="Generator Monitoring & TroubleShooting">Generator Monitoring & TroubleShooting</option>
                                                <option value="Generator Technology, Design & Maintenance">Generator Technology, Design & Maintenance</option>
                                                <option value="GT FDS System">GT FDS System</option>
                                                <option value="GT13E2 Combustion and Commissioning Training">GT13E2 Combustion and Commissioning Training</option>
                                                <option value="GT13E2 Commisioning Training">GT13E2 Commisioning Training</option>
                                                <option value="GUTOR UPS Maintenance Level 1">GUTOR UPS Maintenance Level 1</option>
                                                <option value="GUTOR UPS Maintenance Level 2">GUTOR UPS Maintenance Level 2</option>
                                                <option value="GUTOR UPS Maintenance Training Level 1">GUTOR UPS Maintenance Training Level 1</option>
                                                <option value="GUTOR UPS Maintenance Training Level 2">GUTOR UPS Maintenance Training Level 2</option>
                                                <option value="Heavy Vehicle Defensive Driving">Heavy Vehicle Defensive Driving</option>
                                                <option value="High Impact Presentation Skills">High Impact Presentation Skills</option>
                                                <option value="High Voltage Operation and Safety">High Voltage Operation and Safety</option>
                                                <option value="High Voltage Power Transformer">High Voltage Power Transformer</option>
                                                <option value="How to Conduct Meeting Effectively">How to Conduct Meeting Effectively</option>
                                                <option value="HP-UX System & Network Administration">HP-UX System & Network Administration</option>
                                                <option value="HRSG Tube Failure/Cycle Chemistry Improvement Prog">HRSG Tube Failure/Cycle Chemistry Improvement Prog</option>
                                                <option value="HV Switchgear Operation & Maintenance">HV Switchgear Operation & Maintenance</option>
                                                <option value="Hydraulic">Hydraulic</option>
                                                <option value="Hydraulic System and Trouble Shooting">Hydraulic System and Trouble Shooting</option>
                                                <option value="Hydraulics Practical Training (HTP-1)-Bosch Rexroth Sdn Bhd">Hydraulics Practical Training (HTP-1)-Bosch Rexroth Sdn Bhd</option>
                                                <option value="ICE Engineer Grade 1 & 2">ICE Engineer Grade 1 & 2</option>
                                                <option value="IEM/IEEE Related Training">IEM/IEEE Related Training</option>
                                                <option value="IMM Coating Inspection">IMM Coating Inspection</option>
                                                <option value="Improve Your English - 6 Months Course">Improve Your English - 6 Months Course</option>
                                                <option value="Industrial Maintenance Management Practices">Industrial Maintenance Management Practices</option>
                                                <option value="Infrared Thermography Level 1">Infrared Thermography Level 1</option>
                                                <option value="Innovation Workshop- Being Innovation Catalyst">Innovation Workshop- Being Innovation Catalyst</option>
                                                <option value="Instrumentation Measurement and Calibration">Instrumentation Measurement and Calibration</option>
                                                <option value="Introduction to Hydraulic (HTG)- Bosch Rexroth Sdn. Bhd.">Introduction to Hydraulic (HTG)- Bosch Rexroth Sdn. Bhd.</option>
                                                <option value="Laboratory Management, Accreditation and QA/QC Practices">Laboratory Management, Accreditation and QA/QC Practices</option>
                                                <option value="Laser Alignment">Laser Alignment</option>
                                                <option value="Leadership Skills for Highly Effective Managers">Leadership Skills for Highly Effective Managers</option>
                                                <option value="Limitorq Actuator">Limitorq Actuator</option>
                                                <option value="LPP Electrical HV, MV and LV System/Electrical Start-up Devices/Electrical Protection Systems">LPP Electrical HV, MV and LV System/Electrical Start-up Devices/Electrical Protection Systems</option>
                                                <option value="Lube Oil Analysis Level 1">Lube Oil Analysis Level 1</option>
                                                <option value="Lubrication Machinery Level I and II">Lubrication Machinery Level I and II</option>
                                                <option value="Maintenance and Troubleshooting of Electrical System-AVR, SFC, Transformer and HV Switchgears">Maintenance and Troubleshooting of Electrical System-AVR, SFC, Transformer and HV Switchgears</option>
                                                <option value="Maintenance Management & Performance Improvement">Maintenance Management & Performance Improvement</option>
                                                <option value="Maintenance Planning & Scheduling">Maintenance Planning & Scheduling</option>
                                                <option value="Managing Office Record & Filing">Managing Office Record & Filing</option>
                                                <option value="Managing Your People">Managing Your People</option>
                                                <option value="Managing Your Subordinates & Boss">Managing Your Subordinates & Boss</option>
                                                <option value="Mastering Problem Solving & Decision Making">Mastering Problem Solving & Decision Making</option>
                                                <option value="Memperkasa Kepimpinan Model Rasullullah">Memperkasa Kepimpinan Model Rasullullah</option>
                                                <option value="Mencari Keberkatan di Tempat Kerja">Mencari Keberkatan di Tempat Kerja</option>
                                                <option value="Microsoft Access 2003">Microsoft Access 2003</option>
                                                <option value="Microsoft Access 2003 - Intermediate">Microsoft Access 2003 - Intermediate</option>
                                                <option value="Microsoft Excel 2003">Microsoft Excel 2003</option>
                                                <option value="Microsoft Excel 2003 - Advance">Microsoft Excel 2003 - Advance</option>
                                                <option value="Microsoft Excel 2003 - Intermediate">Microsoft Excel 2003 - Intermediate</option>
                                                <option value="Microsoft Power Point 2003">Microsoft Power Point 2003</option>
                                                <option value="Microsoft Power Point 2003 - Intermediate">Microsoft Power Point 2003 - Intermediate</option>
                                                <option value="Microsoft Project">Microsoft Project</option>
                                                <option value="Microsoft Share Point">Microsoft Share Point</option>
                                                <option value="Microsoft Webpage & Project">Microsoft Webpage & Project</option>
                                                <option value="Motivasi Keseronokan Bekerja">Motivasi Keseronokan Bekerja</option>
                                                <option value="Motivating & Counseling Your Subordinates">Motivating & Counseling Your Subordinates</option>
                                                <option value="Motor Control">Motor Control</option>
                                                <option value="Motorised Valve Actuator - Maintenance & Troubleshooting">Motorised Valve Actuator - Maintenance & Troubleshooting</option>
                                                <option value="Motorised Valve Actuator - Operations">Motorised Valve Actuator - Operations</option>
                                                <option value="MV & LV Indoor Switchgear Course (BEM)">MV & LV Indoor Switchgear Course (BEM)</option>
                                                <option value="NDT Appreciation Techniques">NDT Appreciation Techniques</option>
                                                <option value="Negotiation Skills">Negotiation Skills</option>
                                                <option value="Network Design">Network Design</option>
                                                <option value="Network Security">Network Security</option>
                                                <option value="OHSAS 18001">OHSAS 18001</option>
                                                <option value="Operation & Troubleshooting of Centralised Aircond Systems">Operation & Troubleshooting of Centralised Aircond Systems</option>
                                                <option value="Operation of Electrical Plant Equipments">Operation of Electrical Plant Equipments</option>
                                                <option value="OPEX & CAPEX Budgetting">OPEX & CAPEX Budgetting</option>
                                                <option value="Organizational Change- What Can I Do?">Organizational Change- What Can I Do?</option>
                                                <option value="Outage Management">Outage Management</option>
                                                <option value="P13/42 Basic Course (7223)">P13/42 Basic Course (7223)</option>
                                                <option value="P14 Training">P14 Training</option>
                                                <option value="P14/44 Basic Course (8353)">P14/44 Basic Course (8353)</option>
                                                <option value="Pekerja Despatch Cemerlang">Pekerja Despatch Cemerlang</option>
                                                <option value="Pengurusan Konflik dalam Kerjaya">Pengurusan Konflik dalam Kerjaya</option>
                                                <option value="Performance Management for Managers via KPI">Performance Management for Managers via KPI</option>
                                                <option value="PI System Administrator">PI System Administrator</option>
                                                <option value="PI Training - Advanced Level">PI Training - Advanced Level</option>
                                                <option value="PI User & Administration Training">PI User & Administration Training</option>
                                                <option value="PI User Training">PI User Training</option>
                                                <option value="PID Tuning">PID Tuning</option>
                                                <option value="Piping Inspection & Assessment">Piping Inspection & Assessment</option>
                                                <option value="Plant Efficiencies & Heat Rate Improvement">Plant Efficiencies & Heat Rate Improvement</option>
                                                <option value="PLC - Intermediate">PLC - Intermediate</option>
                                                <option value="PLC System & Tuning Course">PLC System & Tuning Course</option>
                                                <option value="PLC Traning">PLC Traning</option>
                                                <option value="PLC5 Essentials with RSLogix 5 Software (SEA-P001)- Rockwell">PLC5 Essentials with RSLogix 5 Software (SEA-P001)- Rockwell</option>
                                                <option value="PLC-5 Maintenance & Troubleshooting (CCP412-Rockwell)">PLC-5 Maintenance & Troubleshooting (CCP412-Rockwell)</option>
                                                <option value="Pneumatic System and Trouble Shooting">Pneumatic System and Trouble Shooting</option>
                                                <option value="Positive Work Cultures">Positive Work Cultures</option>
                                                <option value="Positive Work Cultures for Executives">Positive Work Cultures for Executives</option>
                                                <option value="Power Generation Explosion Risk">Power Generation Explosion Risk</option>
                                                <option value="Power Plant Thermal Performance and Optimization">Power Plant Thermal Performance and Optimization</option>
                                                <option value="Power System Protection & Control">Power System Protection & Control</option>
                                                <option value="Practical Accounting">Practical Accounting</option>
                                                <option value="Practical Process Control & Control Loop Tuning">Practical Process Control & Control Loop Tuning</option>
                                                <option value="Principle of CCGT Operation">Principle of CCGT Operation</option>
                                                <option value="Problem Solving & Decision Making">Problem Solving & Decision Making</option>
                                                <option value="Process Measurement & Control Essential">Process Measurement & Control Essential</option>
                                                <option value="Process Troubleshooting">Process Troubleshooting</option>
                                                <option value="Program Profesionalisma Pemanduan">Program Profesionalisma Pemanduan</option>
                                                <option value="Pump Operation, Maintenance & Troubleshooting">Pump Operation, Maintenance & Troubleshooting</option>
                                                <option value="Purchasing Contract Law">Purchasing Contract Law</option>
                                                <option value="Purchasing Management - Advanced">Purchasing Management - Advanced</option>
                                                <option value="Reliability Centered Maintenance (ReliaSoft)">Reliability Centered Maintenance (ReliaSoft)</option>
                                                <option value="Remaining Life Assessment of High Temp Component">Remaining Life Assessment of High Temp Component</option>
                                                <option value="Root Cause Analysis (RCA)">Root Cause Analysis (RCA)</option>
                                                <option value="Rotary Equipments Trouble Shooting Skill">Rotary Equipments Trouble Shooting Skill</option>
                                                <option value="Rotork Actuator Maintenance">Rotork Actuator Maintenance</option>
                                                <option value="Rotork Actuator Maintenance & Troubleshooting">Rotork Actuator Maintenance & Troubleshooting</option>
                                                <option value="RS Logix 5000">RS Logix 5000</option>
                                                <option value="SAP - Basic">SAP - Basic</option>
                                                <option value="SAP Plant Maintenance">SAP Plant Maintenance</option>
                                                <option value="Shutdown and Turnaround Management">Shutdown and Turnaround Management</option>
                                                <option value="SLC500 Essentials with RSLogix 500 Software (SEA-S001-Rockwell)">SLC500 Essentials with RSLogix 500 Software (SEA-S001-Rockwell)</option>
                                                <option value="SLC500 Maintenance & Troubleshooting (CCPS43-Rockwell)">SLC500 Maintenance & Troubleshooting (CCPS43-Rockwell)</option>
                                                <option value="Speak with Confidence- Public Speaking">Speak with Confidence- Public Speaking</option>
                                                <option value="Speak with Confidence- Public Speaking for Managers">Speak with Confidence- Public Speaking for Managers</option>
                                                <option value="Steam Driver Grade 1 & 2">Steam Driver Grade 1 & 2</option>
                                                <option value="Steam Engineer Grade 1 & 2">Steam Engineer Grade 1 & 2</option>
                                                <option value="Steam Turbine Maintenance & Inspection">Steam Turbine Maintenance & Inspection</option>
                                                <option value="Steam Turbine Operation & Control">Steam Turbine Operation & Control</option>
                                                <option value="Strategic Procurement Process">Strategic Procurement Process</option>
                                                <option value="Stress Management for Managers">Stress Management for Managers</option>
                                                <option value="Successful & Effective Purchasing Negotiation">Successful & Effective Purchasing Negotiation</option>
                                                <option value="SuSe Linux - Administrator">SuSe Linux - Administrator</option>
                                                <option value="Switchgear & Maintenance Training (Hands-on Training-ILSAS)">Switchgear & Maintenance Training (Hands-on Training-ILSAS)</option>
                                                <option value="System Trouble Shooting">System Trouble Shooting</option>
                                                <option value="Tax Examption">Tax Examption</option>
                                                <option value="Think and Decide Beyond the Box">Think and Decide Beyond the Box</option>
                                                <option value="Transformer Design & Maintenance">Transformer Design & Maintenance</option>
                                                <option value="Turbine Alignment Technology">Turbine Alignment Technology</option>
                                                <option value="Turbine Repair & Refurbishment">Turbine Repair & Refurbishment</option>
                                                <option value="Turbo Machineries for Energy Industry">Turbo Machineries for Energy Industry</option>
                                                <option value="Turbotrol TT6">Turbotrol TT6</option>
                                                <option value="Ultrasound Competency Course">Ultrasound Competency Course</option>
                                                <option value="Vendor Development & Control">Vendor Development & Control</option>
                                                <option value="Vibration Analysis - Basic">Vibration Analysis - Basic</option>
                                                <option value="Vibration Analysis -Level 1">Vibration Analysis -Level 1</option>
                                                <option value="Vibration Analysis -Level 2">Vibration Analysis -Level 2</option>
                                                <option value="Visual Basic Programming - Introduction">Visual Basic Programming - Introduction</option>
                                                <option value="Warehouse Management">Warehouse Management</option>
                                                <option value="Water Cycle Chemistry">Water Cycle Chemistry</option>
                                                <option value="Water Treatment">Water Treatment</option>
                                                <option value="Welding Fundamental">Welding Fundamental</option>
                                                <option value="Welding Inspector">Welding Inspector</option>
                                                <option value="Windows Server 2008">Windows Server 2008</option>
                                                </select>                                            
                                            </th>
                                    </tr>
                                    <tr>
                                        <td id="staff_department">Department:<span class="inputHighlighted">*</span></td>
                                        <th><select name="department">
                                            <option value="">-Select department-</option>
                                            <option value="Account">Account </option>
                                            <option value="Administrator">Administrator</option>
                                            <option value="C&I">C&I </option>
                                            <option value="Electrical">Electrical </option>
                                            <option value="Eng-EC&I">Eng-EC&I </option>
                                            <option value="Eng-Mech">Eng-Mech </option>
                                            <option value="GB3">GB3 </option>
                                            <option value="Mechanical">Mechanical </option>
                                            <option value="Procurement">Procurement </option>
                                            <option value="RMS">RMS </option>
                                            <option value="Safety">Safety </option>
                                            <option value="SEV">SEV </option>
                                            <option value="Training">Training</option>
                                        </select>
                                        </th>

                                        <td id="organizer_training">Organizer:<span class="inputHighlighted">*</span></td>
                                            <th><input type="text" name="organizer" size="50"></th>
                                    </tr>
                                    <tr>
                                        <td id="staff_designation">Designation:<span class="inputHighlighted">*</span></td>
                                            <th><input type="text" name="designation" size="50"></th>
                                        <td>Training Cost (RM):</td>
                                            <th><input type="text" name="cost" size="50"></th>
                                    </tr>
                                    <tr>
                                        <td id="training_date">Training Date:<span class="inputHighlighted">*</span></td>
                                            <th><!-- calendar attaches to existing form element -->
                                                    <input type="text" name="date" onFocus="this.blur()"/>
                                                    <script language="JavaScript">
                                                    new tcal ({
                                                        // form name
                                                        'formname': 'form',
                                                        // input name
                                                        'controlname': 'date',
                                                    });

                                                    </script>
                                        <td id="training_venue">Venue:<span class="inputHighlighted">*</span></td>
                                            <th><input type="text" name="venue" size="50"></th>
                                    </tr>
                            </table>
                        <br />
                        </p>
                        <br>
                        <p>
                            <table border="0" cellpading="2" cellspacing="2" style="background:#ffffff" >
                                <tr>
                                    <td><i><b><strong>Evaluation Rating Guidelines:</strong></i></b>
                                    <td></tr>
                            </table>
                        </p>
                        <p>
                                <table border="1" cellpading="0" cellspacing="0" style="background:#ffffff" >
                                    <tr>
                                        <td align = "center"><b>1</b></td>
                                        <td align = "center"><b>2</b></td>
                                        <td align = "center"><b>3</b></td>
                                        <td align = "center"><b>4</b></td>
                                        <td align = "center"><b>5</b></td>
                                    </tr>
                                    <tr>
                                        <td><b>Unsatisfactory Strongly Disagree</b></td>
                                        <td><b>Below Average Disagree</b></td>
                                        <td><b>Commendable Neutral</b></td>
                                        <td><b>Very Good Agree<b></td>
                                        <td><b>Excellent Strongly Agree<b></td>
                                    </tr>
                                </table>
                            </p>
                            <p>
                                <table width = "90%" border="1" cellpading="2" cellspacing="2" style="background:#ffffff">
                                    <tr>
                                        <td align = "center"><h4>Reaction - Training Course Overall</h4></td>
                                        <td align = "center" ><b>1-5</b></td>
                                    </tr>
                                    <tr>
                                        <td id="reaction_objective">Your objectives of attending the training program achieved<span class="inputHighlighted">*</span></td>
                                            <th><select name="objective">
                                                    <option value="">-Rating-</option>
                                                    <option value="1">1 </option>
                                                    <option value="2">2</option>
                                                    <option value="3">3 </option>
                                                    <option value="4">4 </option>
                                                    <option value="5">5 </option>
                                                 </select>
                                            </th>
                                    </tr>
                                    <tr>
                                        <td id="reaction_topic">The topics of the course was relevant and useful to my work<span class="inputHighlighted">*</span></td>
                                            <th><select name="topic">
                                                    <option value="">-Rating-</option>
                                                    <option value="1">1 </option>
                                                    <option value="2">2</option>
                                                    <option value="3">3 </option>
                                                    <option value="4">4 </option>
                                                    <option value="5">5 </option>
                                                 </select>
                                            </th>
                                    </tr>
                                    <tr>
                                        <td id="reaction_coordination">Coordination of the course was well organized<span class="inputHighlighted">*</span></td>
                                            <th><select name="coordination">
                                                    <option value="">-Rating-</option>
                                                    <option value="1">1 </option>
                                                    <option value="2">2</option>
                                                    <option value="3">3 </option>
                                                    <option value="4">4 </option>
                                                    <option value="5">5 </option>
                                                 </select>
                                            </th>
                                    </tr>
                                    <tr>
                                        <td id="reaction_instructor">The instructor was an effective communicator<span class="inputHighlighted">*</span></td>
                                            <th><select name="instructor">
                                                    <option value="">-Rating-</option>
                                                    <option value="1">1 </option>
                                                    <option value="2">2</option>
                                                    <option value="3">3 </option>
                                                    <option value="4">4 </option>
                                                    <option value="5">5 </option>
                                                 </select>
                                            </th>
                                    </tr>
                                    <tr>
                                        <td id="reaction_audiovisual">Training aids: handout, training manuals, audiovisual material<span class="inputHighlighted">*</span></td>
                                            <th><select name="audiovisual">
                                                    <option value="">-Rating-</option>
                                                    <option value="1">1 </option>
                                                    <option value="2">2</option>
                                                    <option value="3">3 </option>
                                                    <option value="4">4 </option>
                                                    <option value="5">5 </option>
                                                 </select>
                                            </th>
                                    </tr>
                                    <tr>
                                        <td id="reaction_enjoy">I enjoyed attending the training<span class="inputHighlighted">*</span></td>
                                            <th><select name="enjoy">
                                                    <option value="">-Rating-</option>
                                                    <option value="1">1 </option>
                                                    <option value="2">2</option>
                                                    <option value="3">3 </option>
                                                    <option value="4">4 </option>
                                                    <option value="5">5 </option>
                                                 </select>
                                            </th>
                                    </tr>
                                    <tr>
                                        <td id="reaction_recommend">I would recommend this course to others<span class="inputHighlighted">*</span></td>
                                            <th><select name="recommend">
                                                    <option value="">-Rating-</option>
                                                    <option value="1">1 </option>
                                                    <option value="2">2</option>
                                                    <option value="3">3 </option>
                                                    <option value="4">4 </option>
                                                    <option value="5">5 </option>
                                                 </select>
                                            </th>
                                    </tr>
                                    <tr>
                                        <td align = "center"><b>Total Reaction Index</b></td>
                                        <th><input type="text" name="total1" onFocus="this.blur()"/></th>
                                    </tr>
                                </table>
                            </p>
                            <br>
                            <p>
                                <table width = "90%" border="1" cellpading="2" cellspacing="2" style="background:#ffffff">
                                    <tr>
                                        <td align = "center"><h4>Learning and Behaviour - Participant Achievementsh</h4></td>
                                        <td align = "center" ><b>1-5</b></td>
                                    </tr>
                                    <tr>
                                        <td id="learning_benefit">I have benefited a lot from attending this training<span class="inputHighlighted">*</span></td>
                                            <th><select name="benefit">
                                                    <option value="">-Rating-</option>
                                                    <option value="1">1 </option>
                                                    <option value="2">2</option>
                                                    <option value="3">3 </option>
                                                    <option value="4">4 </option>
                                                    <option value="5">5 </option>
                                                 </select>
                                            </th>
                                    </tr>
                                    <tr>
                                        <td id="learning_learnt">My knowledge has improved as a result from the training<span class="inputHighlighted">*</span></td>
                                        <th><select name="learnt">
                                              <option value="">-Rating-</option>
                                                <option value="1">1 </option>
                                                <option value="2">2</option>
                                                <option value="3">3 </option>
                                                <option value="4">4 </option>
                                                <option value="5">5 </option>
                                             </select>
                                        </th>
                                    </tr>
                                    <tr>
                                        <td id="learning_apply">I will be able to apply the knowledge learnt to my job<span class="inputHighlighted">*</span></td>
                                        <th><select name="apply">
                                              <option value="">-Rating-</option>
                                                <option value="1">1 </option>
                                                <option value="2">2</option>
                                                <option value="3">3 </option>
                                                <option value="4">4 </option>
                                                <option value="5">5 </option>
                                             </select>
                                        </th>
                                    </tr>
                                    <tr>
                                        <td id="learning_aspires">The knowledge acquired aspires me to improve my job performance<span class="inputHighlighted">*</span></td>
                                            <th><select name="
function myfunction()
{
a=document.form.objective.value;
b=parseInt(a);
c=document.form.topic.value;
d=parseInt(c);
e=document.form.coordination.value;
f=parseInt(e);
g=document.form.instructor.value;
t=parseInt(g);
h=document.form.audiovisual.value;
i=parseInt(h);
j=document.form.enjoy.value;
k=parseInt(j);
l=document.form.recommend.value;
m=parseInt(l);
n = (b+d+f+t+i+k+m);
document.form.total1.value =n;

a1=document.form.benefit.value;
b1=parseInt(a1);
c1=document.form.learnt.value;
d1=parseInt(c1);
e1=document.form.apply.value;
f1=parseInt(e1);
g1=document.form.aspires.value;
t1=parseInt(g1);
h1=document.form.share.value;
i1=parseInt(h1);
j1=document.form.motivate.value;
k1=parseInt(j1);
l1=document.form.asset.value;
m1=parseInt(l1);
n1 = (b1+d1+f1+t1+i1+k1+m1);
document.form.total2.value =n1;

a2=document.form.trainer2.value;
b2=parseInt(a2);
c2=document.form.trainer3.value;
d2=parseInt(c2);
e2=document.form.trainer4.value;
f2=parseInt(e2);
g2=document.form.trainer5.value;
t2=parseInt(g2);
h2=document.form.trainer6.value;
i2=parseInt(h2);
n2 = (b2+d2+f2+t2+i2);
document.form.total3.value =n2;

a3=document.form.trainer9.value;
b3=parseInt(a3);
c3=document.form.trainer10.value;
d3=parseInt(c3);
e3=document.form.trainer11.value;
f3=parseInt(e3);
g3=document.form.trainer12.value;
t3=parseInt(g3);
h3=document.form.trainer13.value;
i3=parseInt(h3);
n3 = (b3+d3+f3+t3+i3);
document.form.total4.value =n3;

a4=document.form.trainer15.value;
b4=parseInt(a4);
c4=document.form.trainer16.value;
d4=parseInt(c4);
e4=document.form.trainer17.value;
f4=parseInt(e4);
g4=document.form.trainer18.value;
t4=parseInt(g4);
h4=document.form.trainer19.value;
i4=parseInt(h4);
j4=document.form.trainer20.value;
k4=parseInt(j4);
n4= (b4+d4+f4+t4+i4+k4);
document.form.total5.value =n4;

HAHAHAHAHAHAHAHAHA

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.