-
Notifications
You must be signed in to change notification settings - Fork 0
/
submit.html
93 lines (90 loc) · 4.79 KB
/
submit.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<html>
<head>
<title>Light-Weight Lending Web App</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script type="text/javascript" src="submitscript.js"></script>
</head>
<body>
<div class="container">
<div class="jumbotron">
<h1 id="LenderWelcomePrompt"></h1>
</div>
</div>
<div class="container">
<form method="POST" action="javascript:onSubmit();">
<h2>Loan Information</h2>
<div class="well">
<div class="form-group">
<label for="amount">Amount</label>
<div class="input-group">
<div class="input-group-addon">$</div>
<input id="amount" type="number" class="form-control" name="amount" required/>
</div>
</div>
<div class="form-group">
<label for="term">Term</label>
<input id="term" type="number" class="form-control" name="term" required/>
</div>
</div>
<h2>Applicant Info</h2>
<div class="well">
<div class="form-group">
<label for="firstName">First Name</label>
<input id="firstName" type="text" class="form-control" name="firstName" required/>
</div>
<div class="form-group">
<label for="lastName">Last Name</label>
<input id="lastName" type="text" class="form-control" name="lastName" required/>
</div>
<div class="form-group">
<label for="ssn">SSN</label>
<input id="ssn" type="text" pattern="\d{3}[\-]\d{2}[\-]\d{4}" onkeyup='mask(this, mssn);' onblur='mask(this, mssn)' class="form-control" name="ssn" placeholder="xxx-xx-xxxx" required/>
</div>
<div class="form-group">
<label for="email">Email</label>
<input id="email" type="email" class="form-control" name="email"/>
</div>
<div class="form-group">
<label for="phoneNumber">Phone Number</label>
<input id="phone" type="tel" pattern="\(\d{3}\) \d{3}[\-]\d{4}" class="form-control" onkeyup='mask(this, mphone);' onblur='mask(this, mphone)' name="phoneNumber"/>
</div>
</div>
<h2>Employment Info</h2>
<div class="well">
<div class="form-group">
<label for="employer">Employer</label>
<input id="employer" type="text" class="form-control" name="employer"/>
</div>
<div class="form-group">
<label for="income">Income</label>
<div class="input-group">
<div class="input-group-addon">$</div>
<input id="income" type="number" class="form-control" name="income" required/>
</div>
</div>
<div class="form-group">
<label for="incomeFreq">Income Frequency</label>
<select id="incomeFreq" class="form-control" name="incomeFreq">
<option value="Yearly">Yearly</option>
<option value="Monthly">Monthly</option>
<option value="Bi-Weekly">Bi-Weekly</option>
<option value="Weekly">Weekly</option>
</select>
</div>
<div class="checkbox">
<label>
<input class="branchEmployee" id="isBranchEmployee" type="checkbox" value="">
Branch Employee
</label>
</div>
<div class="form-group">
<label for="employeeID">Employee ID</label>
<input id="employeeID" type="text" class="form-control" pattern="\d{3}" name="employeeID" placeholder="###" disabled/>
</div>
</div>
<input id="submitButton" type="submit" value="Submit" class="btn btn-default"/>
</form>
</div>
</body>
</html>