Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="EnterData.DataEntry.WebForm1" %>
- <!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 runat="server">
- <title></title>
- <link href="../niceforms/niceforms-default.css" rel="stylesheet" type="text/css" />
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js" type="text/javascript"></script>
- <script src="../niceforms/niceforms.js" type="text/javascript"></script>
- <script src="../jquery.js" type="text/javascript"></script>
- <script src="../jquery.maskedinput-1.2.2.js" type="text/javascript"></script>
- <script>
- jQuery(function($) {
- $("#occurrence_dateTextBox").mask("99/99/9999");
- $("#report_dateTextBox").mask("99/99/9999");
- });
- $(function() {
- $.get('../file.txt', function(data) {
- var output = data.split(','),
- tmp = '';
- for (i = 0; i < output.length; i++) {
- tmp += '<option value=' + output[i] + '>' + output[i] + '</option>';
- }
- $('#lstProblems').html(tmp);
- });
- });
- </script>
- </head>
- <body><div id="container">
- <form id="form1" runat="server" class="niceform">
- <fieldset>
- <legend>Section A</legend>
- <dl>
- <dt><label for="occurrence_dateTextBox">Occurrence Date:</label></dt>
- <dd><asp:TextBox ID="occurrence_dateTextBox" runat="server" size="50"/></dd>
- </dl>
- <dl>
- <dt><label for="report_dateTextBox">Report Date:</label></dt>
- <dd><asp:TextBox ID="report_dateTextBox" runat="server" size="50"/></dd>
- </dl>
- <dl>
- <dt><label for="spec_idTextBox">Specimen ID:</label></dt>
- <dd><asp:TextBox ID="spec_idTextBox" runat="server" size="50"/></dd>
- </dl>
- <dl>
- <dt><label for="batch_idTextBox">Batch ID:</label></dt>
- <dd><asp:TextBox ID="batch_idTextBox" runat="server" size="50"/></dd>
- </dl>
- <dl>
- <dt><label for="report_byTextBox">Report By:</label></dt>
- <dd><asp:TextBox ID="report_byTextBox" runat="server" size="50"/></dd>
- </dl>
- <dl>
- <dt><label for="identified_byTextBox">Identified ID:</label></dt>
- <dd><asp:TextBox ID="identified_byTextBox" runat="server" size="50"/></dd>
- </dl>
- </fieldset>
- <fieldset>
- <legend>Section B</legend>
- <dl>
- <dt><label for="problemTextBox">Problem:</label></dt>
- <dd><asp:TextBox ID="problemTextBox" runat="server" size="50"/></dd>
- </dl>
- <dl>
- <dt><label for="lstProblems">Problems List:</label></dt>
- <dd><asp:ListBox ID="lstProblems" runat="server" width="300" SelectionMode="Multiple"></asp:ListBox></dd>
- </dl>
- </fieldset>
- <fieldset>
- <legend>Section C</legend>
- <dl>
- <dt><label for="section_c_issue_error_identified_byTextBox">Issue/Error Identified By:</label></dt>
- <dd><asp:TextBox ID="section_c_issue_error_identified_byTextBox" runat="server" size="50"/></dd>
- </dl>
- <dl>
- <dt><label for="section_c_commentsTextBox">Comments:</label></dt>
- <dd><asp:TextBox ID="section_c_commentsTextBox" runat="server" size="50"/></dd>
- </dl>
- </fieldset>
- <fieldset>
- <legend>Section D</legend>
- <dl>
- <dt><label for="section_d_investigationTextBox">Investigation:</label></dt>
- <dd><asp:TextBox ID="section_d_investigationTextBox" runat="server" size="50"/></dd>
- </dl>
- </fieldset>
- <fieldset>
- <legend>Section E</legend>
- <dl>
- <dt><label for="section_e_corrective_actionTextBox">Corrective Action:</label></dt>
- <dd><asp:TextBox ID="section_e_corrective_actionTextBox" runat="server" size="50"/></dd>
- </dl>
- </fieldset>
- <fieldset>
- <legend>Section F</legend>
- <dl>
- <dt><label for="section_f_commentsTextBox">Comments:</label></dt>
- <dd><asp:TextBox ID="section_f_commentsTextBox" runat="server" size="50"/></dd>
- </dl>
- </fieldset>
- <fieldset>
- <legend>Pre-Analytical</legend>
- <dl>
- <dt><label for="prePracticeCodeTextBox">Practice Code:</label></dt>
- <dd><asp:TextBox ID="prePracticeCodeTextBox" runat="server" Visible="false"/></dd>
- </dl>
- <dl>
- <dt><label for="preContactTextBox">Contact:</label></dt>
- <dd><asp:TextBox ID="preContactTextBox" runat="server" Visible="false"/></dd>
- </dl>
- <dl>
- <dt><label for="CheckBox1">PreAnalytical?</label></dt>
- <dd><asp:CheckBox ID="CheckBox1" runat="server"
- Visible="true" AutoPostBack="True" oncheckedchanged="CheckBox1_CheckedChanged" /></dd>
- </dl>
- </fieldset>
- <asp:Button ID="Button1" runat="server" Text="Button" OnClick="SubmitData" />
- </form>
- </div></body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement