-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontractorOnboarding.proc.html
More file actions
executable file
·122 lines (107 loc) · 4.63 KB
/
Copy pathcontractorOnboarding.proc.html
File metadata and controls
executable file
·122 lines (107 loc) · 4.63 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
<style>
#processDetails fieldset {
margin-top: 0;
}
#processDetails .group-field {
float: left !important;
width: 100%;
}
#processDetails .field label {
text-align: left;
}
#processDetails .field input,#processDetails .field select {
clear: both;
}
#processDetails .field .validation-message {
clear: none !important;
margin-left: 20px !important;
float: left !important;
}
</style>
<h2 class="header">Contractor Details</h2>
<fieldset>
<div class="fields">
<div class="field">
<label>Username</label>
<input type="text" name="userName" data-validation-dependents="password"/>
<span class="error">x</span>
<div class="validation-message"></div>
</div>
<div class="field">
<label>{{t "common.user.emailAddress"}}</label>
<input type="text" name="email" />
<span class="error">x</span>
<div class="validation-message"></div>
</div>
<div class="field">
<label>{{t "common.user.givenName"}}</label>
<input type="text" name="givenName" data-validation-dependents="password"/>
<span class="error">x</span>
<div class="validation-message"></div>
</div>
<div class="field">
<label>{{t "common.user.familyName"}}</label>
<input type="text" name="familyName" data-validation-dependents="password"/>
<span class="error">x</span>
<div class="validation-message"></div>
</div>
<div class="field">
<label>{{t "common.user.phoneNumber"}}</label>
<input type="text" name="phoneNumber" />
<span class="error">x</span>
<div class="validation-message"></div>
</div>
<div class="group-field">
<div class="group-field-inputs">
<div class="field">
<label>{{t "common.user.password"}}</label>
<input type="password" name="password" data-validation-dependents="passwordConfirm"/>
<span class="error">x</span>
</div>
<div class="field">
<label>{{t "common.user.confirmPassword"}}</label>
<input type="password" name="passwordConfirm" data-validator="passwordConfirm" data-validator-event="keyup change" />
<span class="error">x</span>
</div>
</div>
<div class="group-field-errors validationRules" data-for-validator="password passwordConfirm">
<div class="field-rule">
<span class="error">x</span>
<span data-for-validator="passwordConfirm">{{t "common.form.validation.confirmationMatchesPassword"}}</span>
</div>
</div>
</div>
<div class="field">
<label>Provision to XML</label>
<select name="provisionToXML">
<option value="1">Yes</option>
<option value="0">No</option>
</select>
</div>
<div class="field">
<label>Department</label>
<input type="text" name="department" />
</div>
<div class="field">
<label>Job Title</label>
<input type="text" name="jobTitle" />
</div>
<div class="field">
<label>Description</label>
<input type="text" name="description" />
</div>
<div class="field">
<label>Start Date</label>
<input type="text" name="startDate" />
</div>
<div class="field">
<label>End Date</label>
<input type="text" name="endDate" />
</div>
</div>
</fieldset>
<script>
require(["org/forgerock/commons/ui/common/main/ValidatorsManager"], function (v) {
v.bindValidators($('#processDetails form'), "managed/user/");
});
</script>