| 1 |
lars |
1 |
<com:TContent ID="sidebar">
|
|
|
2 |
|
|
|
3 |
</com:TContent>
|
|
|
4 |
|
|
|
5 |
<com:TContent ID="content">
|
|
|
6 |
|
|
|
7 |
<h3>Request an Account</h3>
|
|
|
8 |
|
|
|
9 |
<p>Accounts will be activated pending the approval of the Administrator.</p>
|
|
|
10 |
|
|
|
11 |
<com:TValidationSummary
|
|
|
12 |
Display="Dynamic"
|
|
|
13 |
ValidationGroup="user" />
|
|
|
14 |
|
|
|
15 |
<span class="input-label">Username</span>
|
|
|
16 |
<br/>
|
|
|
17 |
<com:TTextBox ID="Username" />
|
|
|
18 |
<com:TRequiredFieldValidator
|
|
|
19 |
ControlToValidate="Username"
|
|
|
20 |
ValidationGroup="user"
|
|
|
21 |
Display="Dynamic"
|
|
|
22 |
Text="*"
|
|
|
23 |
ErrorMessage="Please choose a username."
|
|
|
24 |
ControlCssClass="input-error1" />
|
|
|
25 |
<com:TRegularExpressionValidator
|
|
|
26 |
ControlToValidate="Username"
|
|
|
27 |
ValidationGroup="user"
|
|
|
28 |
Display="Dynamic"
|
|
|
29 |
RegularExpression="[\w]{3,16}"
|
|
|
30 |
Text="*"
|
|
|
31 |
ErrorMessage="Your username must contain only letters, digits and underscores, and it must contain at least 3 and at most 16 characters."
|
|
|
32 |
ControlCssClass="input-error2" />
|
|
|
33 |
<com:TCustomValidator
|
|
|
34 |
ControlToValidate="Username"
|
|
|
35 |
ValidationGroup="user"
|
|
|
36 |
Display="Dynamic"
|
|
|
37 |
OnServerValidate="checkUsername"
|
|
|
38 |
Text="*"
|
|
|
39 |
ErrorMessage="Sorry, your username is taken by someone else. Please choose another username."
|
|
|
40 |
ControlCssClass="input-error3" />
|
|
|
41 |
|
|
|
42 |
<br/>
|
|
|
43 |
|
|
|
44 |
<span class="input-label">Full name</span>
|
|
|
45 |
<br/>
|
|
|
46 |
<com:TTextBox ID="FullName" />
|
|
|
47 |
|
|
|
48 |
<br/>
|
|
|
49 |
|
|
|
50 |
<span class="input-label">Password</span>
|
|
|
51 |
<br/>
|
|
|
52 |
<com:TTextBox ID="Password" TextMode="Password" />
|
|
|
53 |
<com:TRequiredFieldValidator
|
|
|
54 |
ControlToValidate="Password"
|
|
|
55 |
ValidationGroup="user"
|
|
|
56 |
Display="Dynamic"
|
|
|
57 |
Text="*"
|
|
|
58 |
ErrorMessage="Please choose a password."
|
|
|
59 |
ControlCssClass="input-error1" />
|
|
|
60 |
<com:TRegularExpressionValidator
|
|
|
61 |
ControlToValidate="Password"
|
|
|
62 |
ValidationGroup="user"
|
|
|
63 |
Display="Dynamic"
|
|
|
64 |
RegularExpression="[\w\.]{6,16}"
|
|
|
65 |
Text="*"
|
|
|
66 |
ErrorMessage="Your password must contain only letters, digits and underscores, and it must contain at least 6 and at most 16 characters."
|
|
|
67 |
ControlCssClass="input-error2" />
|
|
|
68 |
|
|
|
69 |
<br/>
|
|
|
70 |
|
|
|
71 |
<span class="input-label">Re-type Password</span>
|
|
|
72 |
<br/>
|
|
|
73 |
<com:TTextBox ID="Password2" TextMode="Password" />
|
|
|
74 |
<com:TCompareValidator
|
|
|
75 |
ControlToValidate="Password"
|
|
|
76 |
ControlToCompare="Password2"
|
|
|
77 |
ValidationGroup="user"
|
|
|
78 |
Display="Dynamic"
|
|
|
79 |
Text="*"
|
|
|
80 |
ErrorMessage="Your password entries did not match."
|
|
|
81 |
ControlCssClass="input-error3" />
|
|
|
82 |
|
|
|
83 |
<br/>
|
|
|
84 |
|
|
|
85 |
<span class="input-label">Email Address</span>
|
|
|
86 |
<br/>
|
|
|
87 |
<com:TTextBox ID="Email" />
|
|
|
88 |
<com:TRequiredFieldValidator
|
|
|
89 |
ControlToValidate="Email"
|
|
|
90 |
ValidationGroup="user"
|
|
|
91 |
Text="*"
|
|
|
92 |
ErrorMessage="Please provide your email address."
|
|
|
93 |
ControlCssClass="input-error1" />
|
|
|
94 |
<com:TEmailAddressValidator
|
|
|
95 |
ControlToValidate="Email"
|
|
|
96 |
ValidationGroup="user"
|
|
|
97 |
Display="Dynamic"
|
|
|
98 |
Text="*"
|
|
|
99 |
ErrorMessage="You entered an invalid email address."
|
|
|
100 |
ControlCssClass="input-error2" />
|
|
|
101 |
|
|
|
102 |
<br/>
|
|
|
103 |
|
|
|
104 |
<span class="input-label">Personal Website</span>
|
|
|
105 |
<br/>
|
|
|
106 |
<com:TTextBox ID="Website" AutoTrim="true" Columns="40"/>
|
|
|
107 |
|
|
|
108 |
<br/>
|
|
|
109 |
<br/>
|
|
|
110 |
|
|
|
111 |
<com:TButton
|
|
|
112 |
Text="Register"
|
|
|
113 |
ValidationGroup="user"
|
|
|
114 |
CssClass="link-button"
|
|
|
115 |
OnClick="createUser" />
|
|
|
116 |
|
|
|
117 |
</com:TContent>
|