Advertisement
Guest User

Untitled

a guest
Sep 14th, 2011
598
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 5.76 KB | None | 0 0
  1. <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="EnterData.DataEntry.WebForm1" %>
  2.  
  3.  
  4. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  5.  
  6. <html xmlns="http://www.w3.org/1999/xhtml" >
  7. <head runat="server">
  8.     <title></title>
  9.    
  10.     <link href="../niceforms/niceforms-default.css" rel="stylesheet" type="text/css" />
  11.     <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js" type="text/javascript"></script>
  12.     <script src="../niceforms/niceforms.js" type="text/javascript"></script>
  13.     <script src="../jquery.js" type="text/javascript"></script>
  14.     <script src="../jquery.maskedinput-1.2.2.js" type="text/javascript"></script>
  15.     <script>
  16.         jQuery(function($) {
  17.         $("#occurrence_dateTextBox").mask("99/99/9999");
  18.         $("#report_dateTextBox").mask("99/99/9999");
  19.  
  20.     });
  21.     $(function() {
  22.         $.get('../file.txt', function(data) {
  23.             var output = data.split(','),
  24.             tmp = '';
  25.             for (i = 0; i < output.length; i++) {
  26.                tmp += '<option value=' + output[i] + '>' + output[i] + '</option>';
  27.             }
  28.             $('#lstProblems').html(tmp);
  29.  
  30.         });
  31.     });
  32.     </script>
  33. </head>
  34. <body><div id="container">
  35.     <form id="form1" runat="server" class="niceform">
  36.    
  37.         <fieldset>
  38.  
  39.         <legend>Section A</legend>
  40.  
  41.         <dl>
  42.  
  43.             <dt><label for="occurrence_dateTextBox">Occurrence Date:</label></dt>
  44.             <dd><asp:TextBox ID="occurrence_dateTextBox" runat="server" size="50"/></dd>
  45.         </dl>
  46.        
  47.         <dl>
  48.  
  49.             <dt><label for="report_dateTextBox">Report Date:</label></dt>
  50.             <dd><asp:TextBox ID="report_dateTextBox" runat="server" size="50"/></dd>
  51.         </dl>
  52.        
  53.        
  54.         <dl>
  55.  
  56.             <dt><label for="spec_idTextBox">Specimen ID:</label></dt>
  57.             <dd><asp:TextBox ID="spec_idTextBox" runat="server" size="50"/></dd>
  58.         </dl>
  59.        
  60.         <dl>
  61.  
  62.             <dt><label for="batch_idTextBox">Batch ID:</label></dt>
  63.             <dd><asp:TextBox ID="batch_idTextBox" runat="server" size="50"/></dd>
  64.         </dl>
  65.        
  66.         <dl>
  67.  
  68.             <dt><label for="report_byTextBox">Report By:</label></dt>
  69.             <dd><asp:TextBox ID="report_byTextBox" runat="server" size="50"/></dd>
  70.         </dl>
  71.        
  72.         <dl>
  73.  
  74.             <dt><label for="identified_byTextBox">Identified ID:</label></dt>
  75.             <dd><asp:TextBox ID="identified_byTextBox" runat="server" size="50"/></dd>
  76.         </dl>
  77.        
  78.         </fieldset>
  79.        
  80.         <fieldset>
  81.         <legend>Section B</legend>
  82.        
  83.         <dl>
  84.  
  85.             <dt><label for="problemTextBox">Problem:</label></dt>
  86.             <dd><asp:TextBox ID="problemTextBox" runat="server" size="50"/></dd>
  87.            
  88.            
  89.         </dl>
  90.        
  91.         <dl>
  92.             <dt><label for="lstProblems">Problems List:</label></dt>
  93.             <dd><asp:ListBox ID="lstProblems" runat="server" width="300" SelectionMode="Multiple"></asp:ListBox></dd>
  94.                        
  95.         </dl>  
  96.        
  97.         </fieldset>
  98.        
  99.         <fieldset>
  100.         <legend>Section C</legend>
  101.         <dl>
  102.  
  103.             <dt><label for="section_c_issue_error_identified_byTextBox">Issue/Error Identified By:</label></dt>
  104.             <dd><asp:TextBox ID="section_c_issue_error_identified_byTextBox" runat="server" size="50"/></dd>
  105.            
  106.            
  107.         </dl>
  108.        
  109.         <dl>
  110.  
  111.             <dt><label for="section_c_commentsTextBox">Comments:</label></dt>
  112.             <dd><asp:TextBox ID="section_c_commentsTextBox" runat="server" size="50"/></dd>
  113.            
  114.            
  115.         </dl>      
  116.        
  117.         </fieldset>
  118.        
  119.         <fieldset>
  120.         <legend>Section D</legend>
  121.         <dl>
  122.  
  123.             <dt><label for="section_d_investigationTextBox">Investigation:</label></dt>
  124.             <dd><asp:TextBox ID="section_d_investigationTextBox" runat="server" size="50"/></dd>
  125.            
  126.            
  127.         </dl>
  128.        
  129.         </fieldset>
  130.        
  131.         <fieldset>
  132.         <legend>Section E</legend>
  133.         <dl>
  134.  
  135.             <dt><label for="section_e_corrective_actionTextBox">Corrective Action:</label></dt>
  136.             <dd><asp:TextBox ID="section_e_corrective_actionTextBox" runat="server" size="50"/></dd>
  137.            
  138.            
  139.         </dl>
  140.        
  141.        
  142.         </fieldset>
  143.        
  144.         <fieldset>
  145.         <legend>Section F</legend>
  146.         <dl>
  147.  
  148.             <dt><label for="section_f_commentsTextBox">Comments:</label></dt>
  149.             <dd><asp:TextBox ID="section_f_commentsTextBox" runat="server" size="50"/></dd>
  150.            
  151.            
  152.         </dl>
  153.        
  154.         </fieldset>
  155.        
  156.         <fieldset>
  157.         <legend>Pre-Analytical</legend>
  158.         <dl>
  159.  
  160.             <dt><label for="prePracticeCodeTextBox">Practice Code:</label></dt>
  161.             <dd><asp:TextBox ID="prePracticeCodeTextBox" runat="server" Visible="false"/></dd>
  162.            
  163.            
  164.         </dl>
  165.        
  166.         <dl>
  167.  
  168.             <dt><label for="preContactTextBox">Contact:</label></dt>
  169.             <dd><asp:TextBox ID="preContactTextBox" runat="server" Visible="false"/></dd>
  170.            
  171.            
  172.         </dl>
  173.        
  174.         <dl>
  175.             <dt><label for="CheckBox1">PreAnalytical?</label></dt>
  176.             <dd><asp:CheckBox ID="CheckBox1" runat="server"
  177.                            Visible="true" AutoPostBack="True" oncheckedchanged="CheckBox1_CheckedChanged" /></dd>
  178.         </dl>
  179.        
  180.        
  181.         </fieldset>
  182.    
  183.         <asp:Button ID="Button1" runat="server" Text="Button" OnClick="SubmitData" />
  184.        
  185.    
  186.     </form>
  187. </div></body>
  188. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement