/MS.NET/InsuranceSample/InsuranceCo/AutoAppApply.aspx

https://github.com/jocrag/DocuSign-eSignature-SDK · ASP.NET · 102 lines · 95 code · 7 blank · 0 comment · 0 complexity · e0bdc7f60fbb0cf373f06b4f6fec1b4b MD5 · raw file

  1. <%@ Page Title="" Language="C#" MasterPageFile="~/DefaultPage.Master" AutoEventWireup="true"
  2. CodeBehind="AutoAppApply.aspx.cs" Inherits="InsuranceCo.AutoAppApply" %>
  3. <asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
  4. <script type="text/javascript" src="scripts/jquery-1.4.1.min.js"></script>
  5. <script type="text/javascript" src="scripts/webservice-status.js"></script>
  6. <script type="text/javascript" src="scripts/util.js"></script>
  7. </asp:Content>
  8. <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
  9. <div class="col1">
  10. <h1>
  11. Automobile Insurance Application</h1>
  12. <form class="applicationForm" id="applicationForm" method="post" action="AutoAppApply.aspx" runat="server">
  13. <fieldset>
  14. <legend class="heading">Insured Motorist Details</legend>
  15. <p>
  16. Please fill in all fields:</p>
  17. <label for="firstName">
  18. <asp:TextBox Name="firstName" ID="firstName" Columns="50" TabIndex="1" runat="server"/>
  19. First Name:<asp:Label ID="lblFirstNameError" ForeColor="Red" runat="server" Text="*" Visible="false"></asp:Label>
  20. </label>
  21. <label for="lastName">
  22. <asp:TextBox Name="lastName" ID="lastName" Columns="50" TabIndex="2" runat="server"/>
  23. Last Name:<asp:Label ID="lblLastNameRequired" ForeColor="Red" runat="server" Text="*" Visible="false"></asp:Label></label></fieldset>
  24. <br>
  25. <fieldset>
  26. <legend class="heading">Car Details</legend><p>
  27. Please fill in all fields:</p>
  28. <label for="carMake">
  29. <asp:TextBox Name="carMake" ID="carMake" TabIndex="3" Columns="50" runat="server"/>
  30. Car Make:<asp:Label ID="lblCarMakeRequired" ForeColor="Red" runat="server" Text="*" Visible="false"></asp:Label>
  31. </label>
  32. <label for="carModel">
  33. <asp:TextBox Name="carModel" ID="carModel" TabIndex="4" Columns="50" runat="server"/>
  34. Car Model:<asp:Label ID="lblCarModelRequired" ForeColor="Red" runat="server" Text="*" Visible="false"></asp:Label>
  35. </label>
  36. <label for="carVIN">
  37. <asp:TextBox Name="carVIN" ID="carVIN" TabIndex="5" Columns="50" runat="server"/>
  38. Car VIN #:<asp:Label ID="lblCarVINRequired" ForeColor="Red" runat="server" Text="*" Visible="false"></asp:Label>
  39. </label>
  40. <div id="embeddedSigningFieldSection">
  41. <label for="embeddedSigning">
  42. <asp:CheckBox runat="server" Name="embeddedSigning" ID="embeddedSigning"
  43. tabindex="6" AutoPostBack="true"
  44. oncheckedchanged="embeddedSigning_CheckedChanged"/>
  45. <span>Complete Application now? (Embedded Signing)</span>
  46. </label>
  47. </div>
  48. <div id="embeddedSendingFieldSection">
  49. <label for="embeddedSending">
  50. <asp:CheckBox runat="server" Name="embeddedSending" ID="embeddedSending"
  51. tabindex="7" AutoPostBack="true"
  52. oncheckedchanged="embeddedSending_CheckedChanged"/>
  53. <span>Customize Insurance Application? (Embedded Sending)</span>
  54. </label>
  55. </div>
  56. <div id="emailDestinationFieldSection">
  57. <label for="emailDestination">
  58. <asp:TextBox Name="emailDestination" ID="emailDestination" TabIndex="8" Columns="50" runat="server"/>
  59. What email address should receive the application?<asp:Label ID="lblEmailDestinationRequired" ForeColor="Red" runat="server" Text="*" Visible="false"></asp:Label></label><label for="emailDestinationCC"><asp:TextBox Name="emailDestinationCC" ID="emailDestinationCC" TabIndex="8" Columns="50" runat="server"/>
  60. <span>What is the email address of the carbon copied recipient?</span>
  61. </label>
  62. </div>
  63. </fieldset>
  64. &nbsp;&nbsp;&nbsp;&nbsp;<br />
  65. <fieldset>
  66. <legend class="heading">Authorization Options</legend><span>Extra Authentication?</span><br />
  67. <label for="AuthenticationMethod">
  68. <asp:RadioButton GroupName="AuthenticationMethod"
  69. ID="AuthenticationMethod_None" Text="None" runat="server"
  70. AutoPostBack="true" Checked="true" oncheckedchanged="AuthenticationMethod_None_CheckedChanged"
  71. />
  72. <asp:RadioButton GroupName="AuthenticationMethod"
  73. ID="AuthenticationMethod_IDLookup" AutoPostBack="true"
  74. Text="IDLookup" runat="server" oncheckedchanged="AuthenticationMethod_IDLookup_CheckedChanged"
  75. />
  76. <asp:RadioButton GroupName="AuthenticationMethod"
  77. ID="AuthenticationMethod_Phone" AutoPostBack="True"
  78. Text="Phone" runat="server" oncheckedchanged="AuthenticationMethod_Phone_CheckedChanged"
  79. />
  80. </label>
  81. <asp:Panel ID="authPhoneNumberContainer" runat="server" Visible="false">
  82. <label for="authPhoneNumber">Authentication Phone Number:<asp:Label ID="lblAuthPhoneNumberRequired" ForeColor="Red" runat="server" Text="*" Visible="false"></asp:Label><asp:TextBox Name="authPhoneNumber" ID="authPhoneNumber" TabIndex="12" Columns="15" runat="server"/>
  83. </label>
  84. </asp:Panel>
  85. <label for="accessCode">
  86. <asp:TextBox Name="accessCode" ID="accessCode" TabIndex="13" Columns="50" runat="server"/>
  87. <span>Application Access Code</span>
  88. </label>
  89. </fieldset>
  90. &nbsp;&nbsp;&nbsp;&nbsp;<asp:Button runat="server" text="Submit" name="submit" ID="submit" TabIndex="15"
  91. OnClientClick="return ValidateInput();" onclick="submit_Click"
  92. />
  93. </form>
  94. </div>
  95. </asp:Content>