Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

I Developed one html form and now i want to send useing php

$
0
0
<html>
<head>
 <title>table1</title>
 <script language="javascript" type="text/javascript">
  function check()
 {

 if(document.getElementById("Calling Date1").value == "")

 {
 alert("Calling Date");
 document.getElementById('Calling Date1').focus();
 }
else if(document.getElementById('Acct No1').value=='')
 {
 alert("Acct No");
 document.getElementById('Acct No1').focus();
 }
 else if(document.getElementById('Alt No').value=='')
 {
 alert("Alt No1");
 document.getElementById('Alt No').focus();
 }
 
 else if(document.getElementById('CSR Name1').value=='')
 {
 alert("CSR Name");
 document.getElementById('CSR Name1').focus();
 }
 
 else
 {
 document.form.submit();
 }
 }
 </script>
 </head>
 
<body>
 <form method="post" action="dailytracker1.php" name="form" >
 <table width="100%" border="0">
 <tr>
 <td><label>Calling Date: </label>
 </td>
 <td><input type="text" name="Calling Date"  id="Calling Date1" />
 </td>
 </tr>
 
 <tr>
 <td><label>Acct No:</label>
 </td>
 <td><input type="text" name="Acct No" id="Acct No1" />
 </td>
 </tr>
 
 <tr>
 <td><label>Alt No1:</label>
 </td>
 <td><input type="text" name="Alt No1" id="Alt No" />
 </td>
 </tr>
 
 <tr>
  <td>Alt No2:</td><td><input type="text" name="Alt No2"></td></tr><tr>
     
 <tr>
 <td><label>CSR Name:</label>
 </td>
 <td><input type="text" name="CSR Name" id="CSR Name1"; />
 </td>
 </tr>
     
  <tr><td>Calling Status:</td><td><select name="Calling Status">
  <option value="--select--">-----------select----------</option>
  <option value="interested">Interested</option>
  <option value="not interested">Not Interested</option>
  <option value="callback">Callback</option>  
  <option value="followup">FollowUp</option>
  <option value="rnr">RNR</option>
  <option value="switched off">Switched Off</option>
  <option value="not reachable">Not Reachable</option>
  <option value="no doesn't exist">No Doesn't Exist</option>
  </select>
</td></tr><tr>`
    
<tr><td>Not Interested Reason:</td><td><select name="Not Interested Reason">
  <option value="--select--">-----------select----------</option>
  <option value="already using other ISP">Already using other ISP</option>
  <option value="interested/no network">interested/ no network</option>
  <option value="having excess line">Having excess line</option>
  <option value="shifted out of State/country">shifted out of State/country</option>
  <option value="not happy with Services">Not happy with Services</option>
  <option value="already taken new airtel connection ">Already taken new airtel connection </option>
  </select>
</td></tr><tr>
  
 <td>Interested Plan offered:</td><td><input type="text" name="Interested Plan offered"></td></tr><tr>
 <td>Change of Address:</td><td><input type="text" name="Change of Address"></td></tr><tr>
    
    
  </td></tr><tr>` 
    <tr><td>CPE Required:</td><td><select name="CPE Required">
  <option value="--select--">-----------select----------</option>
  <option value="YES">YES</option>
  <option value="NO">NO</option>
   </select>
</td></tr><tr>
     
     
 </td></tr><tr>` 
    <tr><td>Exe Visit required:</td><td><select name="Exe Visit required">
  <option value="--select--">-----------select----------</option>
  <option value="YES">YES</option>
  <option value="NO">NO</option>
   </select>
</td></tr><tr>
    
    
  <td>Remarks:</td><td><input type="text" name="Remarks"></td></tr><tr><td>
 <input type="button" value="Submit" onclick="check()" name="Submit" />

</td>
 </tr>
 </table>
 </form>
 </body>
 </html>


Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>