-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApplicantOtherQualificationsForm.aspx
More file actions
363 lines (363 loc) · 22.4 KB
/
ApplicantOtherQualificationsForm.aspx
File metadata and controls
363 lines (363 loc) · 22.4 KB
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/SmartStart.Master" CodeBehind="ApplicantOtherQualificationsForm.aspx.cs" Inherits="CAPRES.ApplicantOtherQualificationsForm" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="body" runat="server">
<h2 class="text-center">
<asp:Label ID="lblStep" runat="server" Text=""></asp:Label>
</h2>
<div class="container-fluid">
<h4 class="text-center">
<asp:Label ID="lblError" runat="server" CssClass="error-label"></asp:Label>
</h4>
<div class="table-responsive">
<asp:GridView ID="gvLicenses" runat="server" CssClass="table table-bordered table-condensed"
AutoGenerateColumns="false"
DataKeyNames="other_qualification_id"
onrowcancelingedit="gvLicenses_RowCancelingEdit"
onrowdatabound="gvLicenses_RowDataBound" onrowdeleting="gvLicenses_RowDeleting"
onrowediting="gvLicenses_RowEditing"
onrowupdating="gvLicenses_RowUpdating" ShowFooter="true"
onrowcreated="gvLicenses_RowCreated">
<Columns>
<asp:BoundField HeaderText="other_qualification_id"
DataField="other_qualification_id" ReadOnly="true" Visible="False"/>
<asp:TemplateField HeaderText="LICENSES">
<ItemTemplate>
<%# Eval("license") %>
</ItemTemplate>
<EditItemTemplate>
<asp:DropDownList ID="ddlEditParticulars" runat="server" CssClass="form-control"
AutoPostBack="true" onselectedindexchanged="ddlEditParticulars_SelectedIndexChanged">
</asp:DropDownList>
</EditItemTemplate>
<FooterTemplate>
<asp:DropDownList ID="ddlParticulars" runat="server" CssClass="form-control"
AutoPostBack="true" AppendDataBoundItems="true"
onselectedindexchanged="ddlParticulars_SelectedIndexChanged">
<asp:ListItem Selected="True" Text="Select..." Value="0" disabled></asp:ListItem>
</asp:DropDownList>
</FooterTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="OTHERS">
<ItemTemplate>
<%# Eval("others_name") %>
</ItemTemplate>
<EditItemTemplate>
<asp:TextBox ID="txtEditSpecifyValue" runat="server" CssClass="form-control" MaxLength="25"
placeholder="Please specify other particular name.">
</asp:TextBox>
</EditItemTemplate>
<FooterTemplate>
<asp:TextBox ID="txtOthersName" runat="server" CssClass="form-control" MaxLength="25"
placeholder="Please specify other particular name.">
</asp:TextBox>
</FooterTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="LICENSE NUMBER">
<ItemTemplate>
<%# Eval("number") %>
</ItemTemplate>
<EditItemTemplate>
<asp:TextBox ID="txtEditLicenseNumber" runat="server" CssClass="form-control" MaxLength="20">
</asp:TextBox>
</EditItemTemplate>
<FooterTemplate>
<asp:TextBox ID="txtLicenseNumber" runat="server" CssClass="form-control" MaxLength="20"></asp:TextBox>
</FooterTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="RATING">
<ItemTemplate>
<%# Eval("rating") %>
</ItemTemplate>
<EditItemTemplate>
<asp:TextBox ID="txtEditRating" runat="server" CssClass="form-control" MaxLength="20"></asp:TextBox>
</EditItemTemplate>
<FooterTemplate>
<asp:TextBox ID="txtRating" runat="server" CssClass="form-control" MaxLength="20"></asp:TextBox>
</FooterTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="ACTION">
<ItemTemplate>
<asp:LinkButton ID="btnEdit" runat="server" CssClass="btn btn-lg btn-block btn-default
btn-gridview" Text="EDIT" CommandName="Edit" UseSubmitBehavior="false" ToolTip="EDIT">
<span class="glyphicon glyphicon-edit"></span>
</asp:LinkButton>
</ItemTemplate>
<EditItemTemplate>
<div class="btn-group">
<asp:LinkButton ID="btnSave" runat="server" CssClass="btn btn-xs btn-success btn-gridview"
CommandName="Update" Text="SAVE" UseSubmitBehavior="false" ToolTip="SAVE">
<span class="glyphicon glyphicon-ok"></span>
</asp:LinkButton>
<asp:LinkButton ID="btnCancel" runat="server" CssClass="btn btn-xs btn-danger
btn-gridview" Text="CANCEL" CommandName="Cancel" UseSubmitBehavior="false" ToolTip="CANCEL">
<span class="glyphicon glyphicon-remove"></span>
</asp:LinkButton>
</div>
</EditItemTemplate>
<FooterTemplate>
<asp:LinkButton ID="btnAdd" runat="server" CssClass="btn btn-lg btn-block btn-primary
btn-gridview" Text="ADD" onclick="btnAdd_Click" ToolTip="ADD">
<span class="glyphicon glyphicon-plus-sign"></span>
</asp:LinkButton>
</FooterTemplate>
</asp:TemplateField>
<asp:TemplateField>
<ItemTemplate>
<button type="button" class="btn btn-lg btn-block btn-danger btn-gridview" data-toggle="modal" data-target="#body_gvLicenses_pnlDeleteModal_<%# Container.DataItemIndex %>">
<span class="glyphicon glyphicon-minus-sign"></span>
</button>
<asp:Panel ID="pnlDeleteModal" runat="server" CssClass="modal fade" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title">Confirm</h4>
</div>
<div class="modal-body">Are you sure you want to delete this record?</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">CLOSE</button>
<asp:LinkButton ID="btnDelete" runat="server" CssClass="btn btn-danger" Text="DELETE" CommandName="Delete" UseSubmitBehavior="false" ToolTip="DELETE">YES</asp:LinkButton>
</div>
</div>
</div>
</asp:Panel>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
</div>
<br />
<div class="well">
<div class="container-fluid">
<div class="row form-inline question-row">
<div class="col-xs-8 col-sm-5">
<div class="text-right col-height-equals-textbox">
<asp:Label ID="lblQuestion1" runat="server" CssClass="text-uppercase"></asp:Label>
</div>
</div>
<div class="col-xs-4 col-sm-2">
<div class="col-height-equals-textbox">
<asp:RadioButtonList ID="rblQ1" runat="server" RepeatDirection="Horizontal"
onselectedindexchanged="rblQ1_SelectedIndexChanged" AutoPostBack="true">
<asp:ListItem Text="NO" Value="False"></asp:ListItem>
<asp:ListItem Text="YES" Value="True"></asp:ListItem>
</asp:RadioButtonList>
</div>
</div>
<div class="col-xs-12 col-sm-5">
<asp:Panel ID="pnlQ1Yes" runat="server" Visible="false">
<div class="row">
<div class="col-xs-12 col-sm-4 col-height-equals-textbox">
<label for="txtQ1Specify">Specify location/s:</label>
</div>
<div class="form-group col-xs-12 col-sm-8">
<asp:TextBox ID="txtQ1Specify" runat="server" CssClass="form-control"
MaxLength="50" required placeholder="Locations"></asp:TextBox>
</div>
</div>
</asp:Panel>
</div>
</div>
<div class="row form-inline question-row">
<div class="col-xs-8 col-sm-5">
<div class="text-right col-height-equals-textbox">
<asp:Label ID="lblQuestion2" runat="server" CssClass="text-uppercase"></asp:Label>
</div>
</div>
<div class="col-xs-4 col-sm-2">
<div class="col-height-equals-textbox">
<asp:RadioButtonList ID="rblQ2" runat="server" RepeatDirection="Horizontal"
onselectedindexchanged="rblQ2_SelectedIndexChanged" AutoPostBack="true">
<asp:ListItem Text="NO" Value="False"></asp:ListItem>
<asp:ListItem Text="YES" Value="True"></asp:ListItem>
</asp:RadioButtonList>
</div>
</div>
<div class="col-xs-12 col-sm-5">
<asp:Panel ID="pnlQ2Yes" runat="server" Visible="false">
<div class="row">
<div class="col-xs-12 col-sm-4 col-height-equals-textbox">
<label for="txtQ2Specify">Specify case/s:</label>
</div>
<div class="form-group col-xs-12 col-sm-8">
<asp:TextBox ID="txtQ2Specify" runat="server" CssClass="form-control"
MaxLength="50" required placeholder="Cases"></asp:TextBox>
</div>
</div>
</asp:Panel>
</div>
</div>
<div class="row form-inline question-row">
<div class="col-xs-8 col-sm-5">
<div class="text-right col-height-equals-textbox">
<asp:Label ID="lblQuestion3" runat="server" CssClass="text-uppercase"></asp:Label>
</div>
</div>
<div class="col-xs-4 col-sm-2">
<div class="col-height-equals-textbox">
<asp:RadioButtonList ID="rblQ3" runat="server" RepeatDirection="Horizontal"
onselectedindexchanged="rblQ3_SelectedIndexChanged" AutoPostBack="true">
<asp:ListItem Text="NO" Value="False"></asp:ListItem>
<asp:ListItem Text="YES" Value="True"></asp:ListItem>
</asp:RadioButtonList>
</div>
</div>
<div class="col-xs-12 col-sm-5">
<asp:Panel ID="pnlQ3Yes" runat="server" Visible="false">
<div class="row">
<div class="col-xs-12 col-sm-4 col-height-equals-textbox">
<label for="txtQ3Specify">Specify crime/s:</label>
</div>
<div class="form-group col-xs-12 col-sm-8">
<asp:TextBox ID="txtQ3Specify" runat="server" CssClass="form-control"
MaxLength="50" required placeholder="Criminal Charges"></asp:TextBox>
</div>
</div>
</asp:Panel>
</div>
</div>
<div class="row form-inline question-row">
<div class="col-xs-8 col-sm-5">
<div class="text-right col-height-equals-textbox">
<asp:Label ID="lblQuestion4" runat="server" CssClass="text-uppercase"></asp:Label>
</div>
</div>
<div class="col-xs-4 col-sm-2">
<div class="col-height-equals-textbox">
<asp:RadioButtonList ID="rblQ4" runat="server" RepeatDirection="Horizontal"
onselectedindexchanged="rblQ4_SelectedIndexChanged" AutoPostBack="true">
<asp:ListItem Text="NO" Value="False"></asp:ListItem>
<asp:ListItem Text="YES" Value="True"></asp:ListItem>
</asp:RadioButtonList>
</div>
</div>
<div class="col-xs-12 col-sm-5">
<asp:Panel ID="pnlQ4Yes" runat="server" Visible="false">
<div class="form-inline">
<div class="row">
<div class="col-xs-12 col-sm-4 col-height-equals-textbox">
<label>Specify company & relative:</label>
</div>
<div class="col-xs-12 col-sm-8">
<div class="form-group">
<asp:TextBox ID="txtQ4SpecifyCompany" runat="server" CssClass="form-control"
MaxLength="50" required placeholder="Company Name"></asp:TextBox>
</div>
<div class="form-group">
<asp:TextBox ID="txtQ4SpecifyRelative" runat="server" CssClass="form-control"
MaxLength="50" required placeholder="Relative Name (FN MI. LN)"></asp:TextBox>
</div>
</div>
</div>
</div>
</asp:Panel>
</div>
</div>
<div class="row form-inline question-row">
<div class="col-xs-8 col-sm-5">
<div class="text-right col-height-equals-textbox">
<asp:Label ID="lblQuestion5" runat="server" CssClass="text-uppercase"></asp:Label>
</div>
</div>
<div class="col-xs-4 col-sm-2">
<div class="col-height-equals-textbox">
<asp:RadioButtonList ID="rblQ5" runat="server" RepeatDirection="Horizontal"
onselectedindexchanged="rblQ5_SelectedIndexChanged" AutoPostBack="true">
<asp:ListItem Text="NO" Value="False"></asp:ListItem>
<asp:ListItem Text="YES" Value="True"></asp:ListItem>
</asp:RadioButtonList>
</div>
</div>
<div class="col-xs-12 col-sm-5">
<asp:Panel ID="pnlQ5Yes" runat="server" Visible="false">
<div class="form-inline">
<div class="row">
<div class="col-xs-12 col-sm-4 col-height-equals-textbox">
<label>Specify company & relative:</label>
</div>
<div class="col-xs-12 col-sm-8">
<div class="form-group">
<asp:TextBox ID="txtQ5SpecifyCompany" runat="server" CssClass="form-control"
MaxLength="50" required placeholder="Company Name"></asp:TextBox>
</div>
<div class="form-group">
<asp:TextBox ID="txtQ5SpecifyRelative" runat="server" CssClass="form-control"
MaxLength="50" required placeholder="Relative Name (FN MI. LN)"></asp:TextBox>
</div>
</div>
</div>
</div>
</asp:Panel>
</div>
</div>
<div class="row form-inline question-row">
<div class="col-xs-8 col-sm-5">
<div class="text-right col-height-equals-textbox">
<asp:Label ID="lblQuestion6" runat="server" CssClass="text-uppercase"></asp:Label>
</div>
</div>
<div class="col-xs-4 col-sm-2">
<div class="col-height-equals-textbox">
<asp:RadioButtonList ID="rblQ6" runat="server" RepeatDirection="Horizontal"
onselectedindexchanged="rblQ6_SelectedIndexChanged" AutoPostBack="true">
<asp:ListItem Text="NO" Value="False"></asp:ListItem>
<asp:ListItem Text="YES" Value="True"></asp:ListItem>
</asp:RadioButtonList>
</div>
</div>
<div class="col-xs-12 col-sm-5">
<asp:Panel ID="pnlQ6Yes" runat="server" Visible="false">
<div class="row">
<div class="col-xs-12 col-sm-4 col-height-equals-textbox">
<label for="txtQ6Specify">Specify reason/s:</label>
</div>
<div class="form-group col-xs-12 col-sm-8">
<asp:TextBox ID="txtQ6Specify" runat="server" CssClass="form-control"
MaxLength="50" required placeholder="Hospital Name"></asp:TextBox>
</div>
</div>
</asp:Panel>
</div>
</div>
<div class="row form-inline question-row">
<div class="col-xs-8 col-sm-5">
<div class="text-right col-height-equals-textbox">
<asp:Label ID="lblQuestion7" runat="server" CssClass="text-uppercase"></asp:Label>
</div>
</div>
<div class="col-xs-4 col-sm-2">
<div class="col-height-equals-textbox">
<asp:RadioButtonList ID="rblQ7" runat="server" RepeatDirection="Horizontal"
onselectedindexchanged="rblQ7_SelectedIndexChanged" AutoPostBack="true">
<asp:ListItem Text="NO" Value="False"></asp:ListItem>
<asp:ListItem Text="YES" Value="True"></asp:ListItem>
</asp:RadioButtonList>
</div>
</div>
<div class="col-xs-12 col-sm-5">
<asp:Panel ID="pnlQ7Yes" runat="server" Visible="false">
<div class="row">
<div class="col-xs-12 col-sm-4 col-height-equals-textbox">
<label for="txtQ7Specify">Specify condition/s:</label>
</div>
<div class="form-group col-xs-12 col-sm-8">
<asp:TextBox ID="txtQ7Specify" runat="server" CssClass="form-control"
MaxLength="50" required placeholder="Medical Condition"></asp:TextBox>
</div>
</div>
</asp:Panel>
</div>
</div>
</div>
</div>
<div class="text-center">
<div class="btn-group btn-group-lg">
<asp:Button ID="btnPrevious" runat="server" CssClass="btn btn-default" Text="BACK"
UseSubmitBehavior="False" onclick="btnPrevious_Click" />
<asp:Button ID="btnNext" runat="server" CssClass="btn btn-primary" Text="NEXT"
UseSubmitBehavior="False" onclick="btnNext_Click" />
</div>
</div>
</div>
</asp:Content>