<
From version < 1.15 >
edited by SuperUwe Trueggelmann
on 2022-10-13
To version < 1.30 >
edited by SuperUwe Trueggelmann
on 2022-10-13
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -38,7 +38,11 @@
38 38   if ((strEditCommand == "Correct") || (strEditCommand == "Register") || (strEditCommand == "Proceed")){
39 39  
40 40   strCompanyName = services.cleanStr.alphanum(request.companyname)
41 -// println "Received Company name: " + strCompanyName
41 + strCompanyAddress = services.cleanStr.alphanum(request.companyaddress)
42 + strCompanyCity = services.cleanStr.alphanum(request.companycity)
43 + strCompanyPostcode = services.cleanStr.alphanum(request.companypostcode)
44 + strCompanyProvince = services.cleanStr.alphanum(request.companyprovince)
45 + strCompanyCountry = services.cleanStr.alphanum(request.companycountry)
42 42   strTitle = services.cleanStr.alphanum(request.title)
43 43   strFirstname = services.cleanStr.alphanum(request.firstname)
44 44   strLastname = services.cleanStr.alphanum(request.lastname)
... ... @@ -47,7 +47,6 @@
47 47   strLphone = services.cleanStr.numphone(request.lphone)
48 48   strMphone = services.cleanStr.numphone(request.mphone)
49 49   strEmail = services.cleanStr.alphanum(request.email)
50 -// println "Received E-mail: " + strEmail
51 51   strEmail2 = services.cleanStr.alphanum(request.email2)
52 52   strCreateTime = java.time.ZonedDateTime.now()
53 53   strCreateIP = request.remoteAddr
... ... @@ -59,6 +59,11 @@
59 59   sqlQueryInsertRec = "INSERT INTO " + strDBTable +
60 60   """(
61 61   companyname,
65 + companyaddress,
66 + companycity,
67 + companypostcode,
68 + companyprovince,
69 + companycountry,
62 62   title,
63 63   firstname,
64 64   lastname,
... ... @@ -74,6 +74,11 @@
74 74   confemailsentcode)
75 75   VALUES(
76 76   '$strCompanyName',
85 + '$strCompanyAddress',
86 + '$strCompanyCity',
87 + '$strCompanyPostcode',
88 + '$strCompanyProvince',
89 + '$strCompanyCountry',
77 77   '$strTitle',
78 78   '$strFirstname',
79 79   '$strLastname',
... ... @@ -95,6 +95,11 @@
95 95   """
96 96   SET
97 97   companyname = '$strCompanyName',
111 + companyaddress = '$strCompanyAddress',
112 + companycity = '$strCompanyCity',
113 + companypostcode = '$strCompanyPostcode',
114 + companyprovince = '$strCompanyProvince',
115 + companycountry = '$strCompanyCountry',
98 98   title = '$strTitle',
99 99   firstname = '$strFirstname',
100 100   lastname = '$strLastname',
... ... @@ -116,8 +116,16 @@
116 116   }
117 117   strEmailBody = "Dear " + strPrefname + ","
118 118   strEmailBody = strEmailBody + "\r\n" + "\r\n" + "A request was made to register you to the CEC website (https://cecocert.com) with the following information:" + "\r\n" + "\r\n"
137 + strEmailBody = strEmailBody + "Registered name:\r\n"
119 119   strEmailBody = strEmailBody + "Name: " + strTitle + " " + strFirstname + " " + strLastname + "\r\n"
120 - strEmailBody = strEmailBody + "Company: " + strCompanyName + "\r\n"
139 + strEmailBody = strEmailBody + "Registered Business Address:\r\n"
140 + strEmailBody = strEmailBody + "Registered Business Name: " + strCompanyName + "\r\n"
141 + strEmailBody = strEmailBody + "Registered Business Address: " + strCompanyAddress + "\r\n"
142 + strEmailBody = strEmailBody + "Registered Business City: " + strCompanyAddress + "\r\n"
143 + strEmailBody = strEmailBody + "Registered Business Postal Code: " + strCompanyAddress + "\r\n"
144 + strEmailBody = strEmailBody + "Registered Business Province/State: " + strCompanyAddress + "\r\n"
145 + strEmailBody = strEmailBody + "Registered Business Country: " + strCompanyAddress + "\r\n"
146 + strEmailBody = strEmailBody + "Contact info:"
121 121   strEmailBody = strEmailBody + "Role: " + strRole + "\r\n"
122 122   strEmailBody = strEmailBody + "Landline phone: " + strLphone + "\r\n"
123 123   strEmailBody = strEmailBody + "Mobile phone:" + strMphone + "\r\n" + "\r\n"
... ... @@ -131,6 +131,11 @@
131 131   xcontext.put("strEmailBody",strEmailBody)
132 132  // services.writeLog.writeLogEntry(xcontext.getUser(), request.remoteAddr, doc.space, "INSERT AS NEW", intCurUID)
133 133   xcontext.put("strCompanyName",strCompanyName)
160 + xcontext.put("strCompanyName",strCompanyAddress)
161 + xcontext.put("strCompanyName",strCompanyCity)
162 + xcontext.put("strCompanyName",strCompanyPostcode)
163 + xcontext.put("strCompanyName",strCompanyProvince)
164 + xcontext.put("strCompanyName",strCompanyCountry)
134 134   xcontext.put("strTitle",strTitle)
135 135   xcontext.put("strFirstname",strFirstname)
136 136   xcontext.put("strLastname",strLastname)
... ... @@ -145,6 +145,11 @@
145 145   }
146 146   if (strEditCommand == "Proceed"){
147 147   xcontext.put("strCompanyName",strCompanyName)
179 + xcontext.put("strCompanyName",strCompanyAddress)
180 + xcontext.put("strCompanyName",strCompanyCity)
181 + xcontext.put("strCompanyName",strCompanyPostcode)
182 + xcontext.put("strCompanyName",strCompanyProvince)
183 + xcontext.put("strCompanyName",strCompanyCountry)
148 148   xcontext.put("strTitle",strTitle)
149 149   xcontext.put("strFirstname",strFirstname)
150 150   xcontext.put("strLastname",strLastname)
... ... @@ -159,6 +159,11 @@
159 159   }
160 160   if (strEditCommand == "Correct"){
161 161   xcontext.put("strCompanyName",strCompanyName)
198 + xcontext.put("strCompanyName",strCompanyAddress)
199 + xcontext.put("strCompanyName",strCompanyCity)
200 + xcontext.put("strCompanyName",strCompanyPostcode)
201 + xcontext.put("strCompanyName",strCompanyProvince)
202 + xcontext.put("strCompanyName",strCompanyCountry)
162 162   xcontext.put("strTitle",strTitle)
163 163   xcontext.put("strFirstname",strFirstname)
164 164   xcontext.put("strLastname",strLastname)
... ... @@ -181,10 +181,40 @@
181 181   ##$xcontext.strFormStatus
182 182   #if( $xcontext.strFormStatus == "DataEntry" )
183 183   {{html wiki=false clean=false}}
184 - <form action="" class="xformInline" method="post" name="User Registration Form">
185 - <table id="table1"; cellspacing="5px" cellpadding="5%" border="1" width="100%"; align="left">
225 +<head>
226 +<style>
227 +#cecTable {
228 + font-family: Arial, Helvetica, sans-serif;
229 + border-collapse: collapse;
230 + border-color: #007d84
231 + width: 100%;
232 +}
233 +
234 +#cecTable td, #cecTable th {
235 + border: 1px solid #007d84;
236 + padding: 8px;
237 +}
238 +
239 +#cecTable tr:nth-child(even){background-color: #d0d3d4;}
240 +
241 +#cecTable tr:hover {background-color: #ddd;}
242 +
243 +#cecTable th {
244 + padding-top: 12px;
245 + padding-bottom: 12px;
246 + text-align: left;
247 + background-color: #007d84;
248 + color: white;
249 +}
250 +</style>
251 +</head>
252 + <form action="" class="xformInline" method="post" name="Contact Edit Form">
253 + <table id="cecTable"; cellspacing="5px" cellpadding="5%" border="1" width="100%"; align="left">
186 186   <col style="width:30%">
187 - <col style="width:70%">
255 + <col style="width:70%">
256 + <th colspan = "2">
257 + <b>Company Information</b>
258 + </th>
188 188   <tr>
189 189   <td align="left" class="style1">Company name:</td>
190 190   <td class="style1">
... ... @@ -202,7 +202,7 @@
202 202   <tr>
203 203   <td align="left" class="style1">Registered Business Address - City:</td>
204 204   <td class="style1">
205 - <input type="text" id="companycity" name="companycity" placeholder="Enter the City part of your company's registered business address" size="50">
276 + <input type="text" id="companycity" name="companycity" placeholder="Enter the City part of your company's registered business address" size="100">
206 206   </select>
207 207   </td>
208 208   </tr>
... ... @@ -209,7 +209,7 @@
209 209   <tr>
210 210   <td align="left" class="style1">Registered Business Address - Postal Code:</td>
211 211   <td class="style1">
212 - <input type="text" id="companypostcode" name="companypostcode" placeholder="Enter the Postal Code part of your company's registered business address" size="10">
283 + <input type="text" id="companypostcode" name="companypostcode" placeholder="Enter the Postal Code part of your company's registered business address" size="100">
213 213   </select>
214 214   </td>
215 215   </tr>
... ... @@ -227,6 +227,9 @@
227 227   </select>
228 228   </td>
229 229   </tr>
301 + <th colspan = "2">
302 + <b>Your Contact Information</b>
303 + </th>
230 230   <tr>
231 231   <td align="left" class="style1">Title:</td>
232 232   <td class="style1">
... ... @@ -294,9 +294,12 @@
294 294   #if( $xcontext.strFormStatus == "DataCorrection" )
295 295   {{html wiki=false clean=false}}
296 296   <form action="" class="xformInline" method="post" name="User Registration Form">
297 - <table id="table1"; cellspacing="5px" cellpadding="5%" border="1" width="100%"; align="left">
371 + <table id="cecTable"; cellspacing="5px" cellpadding="5%" border="1" width="100%"; align="left">
298 298   <col style="width:30%">
299 299   <col style="width:70%">
374 + <th colspan = "2">
375 + <b>Company Information</b>
376 + </th>
300 300   <tr>
301 301   <td align="left" class="style1">Company name:</td>
302 302   <td class="style1">
... ... @@ -305,6 +305,44 @@
305 305   </td>
306 306   </tr>
307 307   <tr>
385 + <td align="left" class="style1">Registered Business Address - House Number, Street:</td>
386 + <td class="style1">
387 + <input type="text" id="companyaddress" name="companyaddress" placeholder="Enter the House Number, Street, Floor, etc part of your company's registered business address" size="100">
388 + </select>
389 + </td>
390 + </tr>
391 + <tr>
392 + <td align="left" class="style1">Registered Business Address - City:</td>
393 + <td class="style1">
394 + <input type="text" id="companycity" name="companycity" placeholder="Enter the City part of your company's registered business address" size="100">
395 + </select>
396 + </td>
397 + </tr>
398 + <tr>
399 + <td align="left" class="style1">Registered Business Address - Postal Code:</td>
400 + <td class="style1">
401 + <input type="text" id="companypostcode" name="companypostcode" placeholder="Enter the Postal Code part of your company's registered business address" size="100">
402 + </select>
403 + </td>
404 + </tr>
405 + <tr>
406 + <td align="left" class="style1">Registered Business Address - Province or State:</td>
407 + <td class="style1">
408 + <input type="text" id="companyprovince" name="companyprovince" placeholder="Enter the Province or State part of your company's registered business address, leave empty if n/a" size="100">
409 + </select>
410 + </td>
411 + </tr>
412 + <tr>
413 + <td align="left" class="style1">Registered Business Address - Country:</td>
414 + <td class="style1">
415 + <input type="text" id="companycountry" name="companycountry" placeholder="Enter the Country part of your company's registered business address" size="50">
416 + </select>
417 + </td>
418 + </tr>
419 + <th colspan = "2">
420 + <b>Your Contact Information</b>
421 + </th>
422 + <tr>
308 308   <td align="left" class="style1">Title:</td>
309 309   <td class="style1">
310 310   <input type="text" id="title" name="title" placeholder="Enter your title" value="${xcontext.strTitle}" size="20">
... ... @@ -367,9 +367,12 @@
367 367  You have entered the following information to register to the CEC Scheme:
368 368   {{html wiki=false clean=false}}
369 369   <form action="" class="xformInline" method="post" name="User Registration Form">
370 - <table id="table1"; cellspacing="5px" cellpadding="5%" border="1" width="100%"; align="left">
485 + <table id="cecTable"; cellspacing="5px" cellpadding="5%" border="1" width="100%"; align="left">
371 371   <col style="width:30%">
372 372   <col style="width:70%">
488 + <th colspan = "2">
489 + <b>Company Information</b>
490 + </th>
373 373   <tr>
374 374   <td align="left" class="style1">Company name:</td>
375 375   <td class="style1">
... ... @@ -378,6 +378,45 @@
378 378   </td>
379 379   </tr>
380 380   <tr>
499 + <td align="left" class="style1">Registered Business Address - House Number, Street:</td>
500 + <td class="style1">
501 + <input type="hidden" id="companyaddress" name="companyaddress" readonly value="${xcontext.strCompanyAddress}" size="100">
502 + "${xcontext.strCompanyAddress}
503 + </td>
504 + </tr>
505 + <tr>
506 + <td align="left" class="style1">Registered Business Address - City:</td>
507 + <td class="style1">
508 + <input type="hidden" id="companycity" name="companycity" readonly value="${xcontext.strCompanyCity}" size="100">
509 + "${xcontext.strCompanyCity}
510 + </td>
511 + </tr>
512 + <tr>
513 + <td align="left" class="style1">Registered Business Address - Postal Code:</td>
514 + <td class="style1">
515 + <input type="hidden" id="companypostcode" name="companypostcode" readonly value="${xcontext.strCompanyPostcode}" size="100">
516 + "${xcontext.strCompanyPostcode}
517 + </td>
518 + </tr>
519 + <tr>
520 + <td align="left" class="style1">Registered Business Address - Province or State:</td>
521 + <td class="style1">
522 + <input type="hidden" id="companyprovince" name="companyprovince" readonly value="${xcontext.strCompanyProvince}" size="100">
523 + "${xcontext.strCompanyProvince}
524 + </td>
525 + </tr>
526 + <tr>
527 + <td align="left" class="style1">Registered Business Address - Country:</td>
528 + <td class="style1">
529 + <input type="hidden" id="companycountry" name="companycountry" readonly value="${xcontext.strCompanyCountry}" size="50">
530 + "${xcontext.strCompanyCountry}
531 + </td>
532 + </tr>
533 + <th colspan = "2">
534 + <b>Your Contact Information</b>
535 + </th>
536 +
537 + <tr>
381 381   <td align="hidden" class="style1">Title:</td>
382 382   <td class="style1">
383 383   <input type="hidden" id="title" name="title" readonly value="${xcontext.strTitle}" size="10">
... ... @@ -458,6 +458,13 @@
458 458  <p>After you click the below <b>Register</b> button, you should receive an automatically generated e-mail to the primary e-mail address you provide in the form above, containing a verification link. You must verify your e-mail address by clicking this verification link contained in the e-mail within 24 hours, otherwise your data may be deleted and you will have to restart the registration process.</p>
459 459  
460 460  <input type="hidden" id="companyname" name="companyname" readonly value="${xcontext.strCompanyName}" size="50">
618 +
619 +<input type="hidden" id="companycity" name="companycity" readonly value="${xcontext.strCompanyAddress}" size="100">
620 +<input type="hidden" id="companyaddress" name="companyaddress" readonly value="${xcontext.strCompanyCity}" size="100">
621 +<input type="hidden" id="companypostcode" name="companypostcode" readonly value="${xcontext.strCompanyPostcode}" size="100">
622 +<input type="hidden" id="companyprovince" name="companyprovince" readonly value="${xcontext.strCompanyProvince}" size="100">
623 +<input type="hidden" id="companycountry" name="companycountry" readonly value="${xcontext.strCompanyCountry}" size="50">
624 +
461 461  <input type="hidden" id="title" name="title" readonly value="${xcontext.strTitle}" size="10">
462 462  <input type="hidden" id="firstname" name="firstname" readonly value="${xcontext.strFirstname}" size="50">
463 463  <input type="hidden" id="lastname" name="lastname" readonly value="${xcontext.strLastname}" size="50">
© 2022 TruCert Assessment Services Inc.
V01-00