Changes for page X1000 - Contact Registration Form
Last modified by SuperUwe Trueggelmann on 2025-04-18
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -10,6 +10,11 @@ 10 10 11 11 String strContactID = "" 12 12 String strCompanyName = "" 13 + String strCompanyAddress = "" 14 + String strCompanyCity = "" 15 + String strCompanyPostcode = "" 16 + String strCompanyProvince = "" 17 + String strCompanyCountry = "" 13 13 String strTitle = "" 14 14 String strFirstname = "" 15 15 String strLastname = "" ... ... @@ -134,16 +134,12 @@ 134 134 } 135 135 strEmailBody = "Dear " + strPrefname + "," 136 136 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 + "Name: " + strTitle + " " + strFirstname + " " + strLastname + "\r\n" 138 - strEmailBody = strEmailBody + "Registered Business Name: " + strCompanyName + "\r\n" 139 - strEmailBody = strEmailBody + "Registered Business Address: " + strCompanyAddress + "\r\n" 140 - strEmailBody = strEmailBody + "Registered Business City: " + strCompanyAddress + "\r\n" 141 - strEmailBody = strEmailBody + "Registered Business Postal Code: " + strCompanyAddress + "\r\n" 142 - strEmailBody = strEmailBody + "Registered Business Province/State: " + strCompanyAddress + "\r\n" 143 - strEmailBody = strEmailBody + "Registered Business Country: " + strCompanyAddress + "\r\n" 144 - strEmailBody = strEmailBody + "Role: " + strRole + "\r\n" 145 - strEmailBody = strEmailBody + "Landline phone: " + strLphone + "\r\n" 146 - strEmailBody = strEmailBody + "Mobile phone:" + strMphone + "\r\n" + "\r\n" 142 + strEmailBody = strEmailBody + "Registered name: " + strTitle + " " + strFirstname + " " + strLastname + "\r\n" 143 + strEmailBody = strEmailBody + "Registered Business: " + strCompanyName + ", " + strCompanyAddress + ", " + strCompanyCity + ", " + strCompanyPostcode + ", " + strCompanyProvince + ", " + strCompanyCountry + "\r\n" 144 + strEmailBody = strEmailBody + "Contact info: " + strTitle + " " + strFirstname + " " + strLastname + "\r\n " 145 + strEmailBody = strEmailBody + "Contact role: " + strRole + "\r\n " 146 + strEmailBody = strEmailBody + "Landline phone: " + strLphone + "\r\n" + "\r\n" 147 + strEmailBody = strEmailBody + "Mobile phone: " + strMphone + "\r\n" + "\r\n" 147 147 strEmailBody = strEmailBody + "The request was made from IP address: " + strCreateIP 148 148 strEmailBody = strEmailBody + "\r\n" + "\r\n" + "Please click the below link to confirm your e-mail address:" + "\r\n" 149 149 strEmailBody = strEmailBody + "https://cecocert.com/bin/view/StartPage/X1100%20-%20Process%20e-mail%20confirmation/WebHome" ... ... @@ -154,11 +154,11 @@ 154 154 xcontext.put("strEmailBody",strEmailBody) 155 155 // services.writeLog.writeLogEntry(xcontext.getUser(), request.remoteAddr, doc.space, "INSERT AS NEW", intCurUID) 156 156 xcontext.put("strCompanyName",strCompanyName) 157 - xcontext.put("strCompany Name",strCompanyAddress)158 - xcontext.put("strCompany Name",strCompanyCity)159 - xcontext.put("strCompany Name",strCompanyPostcode)160 - xcontext.put("strCompany Name",strCompanyProvince)161 - xcontext.put("strCompany Name",strCompanyCountry)158 + xcontext.put("strCompanyAddress",strCompanyAddress) 159 + xcontext.put("strCompanyCity",strCompanyCity) 160 + xcontext.put("strCompanyPostcode",strCompanyPostcode) 161 + xcontext.put("strCompanyProvince",strCompanyProvince) 162 + xcontext.put("strCompanyCountry",strCompanyCountry) 162 162 xcontext.put("strTitle",strTitle) 163 163 xcontext.put("strFirstname",strFirstname) 164 164 xcontext.put("strLastname",strLastname) ... ... @@ -173,11 +173,11 @@ 173 173 } 174 174 if (strEditCommand == "Proceed"){ 175 175 xcontext.put("strCompanyName",strCompanyName) 176 - xcontext.put("strCompany Name",strCompanyAddress)177 - xcontext.put("strCompany Name",strCompanyCity)178 - xcontext.put("strCompany Name",strCompanyPostcode)179 - xcontext.put("strCompany Name",strCompanyProvince)180 - xcontext.put("strCompany Name",strCompanyCountry)177 + xcontext.put("strCompanyAddress",strCompanyAddress) 178 + xcontext.put("strCompanyCity",strCompanyCity) 179 + xcontext.put("strCompanyPostcode",strCompanyPostcode) 180 + xcontext.put("strCompanyProvince",strCompanyProvince) 181 + xcontext.put("strCompanyCountry",strCompanyCountry) 181 181 xcontext.put("strTitle",strTitle) 182 182 xcontext.put("strFirstname",strFirstname) 183 183 xcontext.put("strLastname",strLastname) ... ... @@ -192,11 +192,11 @@ 192 192 } 193 193 if (strEditCommand == "Correct"){ 194 194 xcontext.put("strCompanyName",strCompanyName) 195 - xcontext.put("strCompany Name",strCompanyAddress)196 - xcontext.put("strCompany Name",strCompanyCity)197 - xcontext.put("strCompany Name",strCompanyPostcode)198 - xcontext.put("strCompany Name",strCompanyProvince)199 - xcontext.put("strCompany Name",strCompanyCountry)196 + xcontext.put("strCompanyAddress",strCompanyAddress) 197 + xcontext.put("strCompanyCity",strCompanyCity) 198 + xcontext.put("strCompanyPostcode",strCompanyPostcode) 199 + xcontext.put("strCompanyProvince",strCompanyProvince) 200 + xcontext.put("strCompanyCountry",strCompanyCountry) 200 200 xcontext.put("strTitle",strTitle) 201 201 xcontext.put("strFirstname",strFirstname) 202 202 xcontext.put("strLastname",strLastname) ... ... @@ -365,6 +365,33 @@ 365 365 #if( $xcontext.strFormStatus == "DataCorrection" ) 366 366 {{html wiki=false clean=false}} 367 367 <form action="" class="xformInline" method="post" name="User Registration Form"> 369 +<head> 370 +<style> 371 +#cecTable { 372 + font-family: Arial, Helvetica, sans-serif; 373 + border-collapse: collapse; 374 + border-color: #007d84 375 + width: 100%; 376 +} 377 + 378 +#cecTable td, #cecTable th { 379 + border: 1px solid #007d84; 380 + padding: 8px; 381 +} 382 + 383 +#cecTable tr:nth-child(even){background-color: #d0d3d4;} 384 + 385 +#cecTable tr:hover {background-color: #ddd;} 386 + 387 +#cecTable th { 388 + padding-top: 12px; 389 + padding-bottom: 12px; 390 + text-align: left; 391 + background-color: #007d84; 392 + color: white; 393 +} 394 +</style> 395 +</head> 368 368 <table id="cecTable"; cellspacing="5px" cellpadding="5%" border="1" width="100%"; align="left"> 369 369 <col style="width:30%"> 370 370 <col style="width:70%"> ... ... @@ -381,7 +381,7 @@ 381 381 <tr> 382 382 <td align="left" class="style1">Registered Business Address - House Number, Street:</td> 383 383 <td class="style1"> 384 - <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"> 412 + <input type="text" id="companyaddress" name="companyaddress" placeholder="Enter the House Number, Street, Floor, etc part of your company's registered business address" value="${xcontext.strCompanyAddress}" size="100"> 385 385 </select> 386 386 </td> 387 387 </tr> ... ... @@ -388,7 +388,7 @@ 388 388 <tr> 389 389 <td align="left" class="style1">Registered Business Address - City:</td> 390 390 <td class="style1"> 391 - <input type="text" id="companycity" name="companycity" placeholder="Enter the City part of your company's registered business address" size="100"> 419 + <input type="text" id="companycity" name="companycity" placeholder="Enter the City part of your company's registered business address" value="${xcontext.strCompanyCity}" size="100"> 392 392 </select> 393 393 </td> 394 394 </tr> ... ... @@ -395,7 +395,7 @@ 395 395 <tr> 396 396 <td align="left" class="style1">Registered Business Address - Postal Code:</td> 397 397 <td class="style1"> 398 - <input type="text" id="companypostcode" name="companypostcode" placeholder="Enter the Postal Code part of your company's registered business address" size="100"> 426 + <input type="text" id="companypostcode" name="companypostcode" placeholder="Enter the Postal Code part of your company's registered business address" value="${xcontext.strCompanyPostcode}" size="100"> 399 399 </select> 400 400 </td> 401 401 </tr> ... ... @@ -402,7 +402,7 @@ 402 402 <tr> 403 403 <td align="left" class="style1">Registered Business Address - Province or State:</td> 404 404 <td class="style1"> 405 - <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"> 433 + <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" value="${xcontext.strCompanyProvince}" size="100"> 406 406 </select> 407 407 </td> 408 408 </tr> ... ... @@ -409,7 +409,7 @@ 409 409 <tr> 410 410 <td align="left" class="style1">Registered Business Address - Country:</td> 411 411 <td class="style1"> 412 - <input type="text" id="companycountry" name="companycountry" placeholder="Enter the Country part of your company's registered business address" size="50"> 440 + <input type="text" id="companycountry" name="companycountry" placeholder="Enter the Country part of your company's registered business address" value="${xcontext.strCompanyCountry}" size="50"> 413 413 </select> 414 414 </td> 415 415 </tr> ... ... @@ -479,9 +479,39 @@ 479 479 You have entered the following information to register to the CEC Scheme: 480 480 {{html wiki=false clean=false}} 481 481 <form action="" class="xformInline" method="post" name="User Registration Form"> 482 - <table id="table1"; cellspacing="5px" cellpadding="5%" border="1" width="100%"; align="left"> 510 +<head> 511 +<style> 512 +#cecTable { 513 + font-family: Arial, Helvetica, sans-serif; 514 + border-collapse: collapse; 515 + border-color: #007d84 516 + width: 100%; 517 +} 518 + 519 +#cecTable td, #cecTable th { 520 + border: 1px solid #007d84; 521 + padding: 8px; 522 +} 523 + 524 +#cecTable tr:nth-child(even){background-color: #d0d3d4;} 525 + 526 +#cecTable tr:hover {background-color: #ddd;} 527 + 528 +#cecTable th { 529 + padding-top: 12px; 530 + padding-bottom: 12px; 531 + text-align: left; 532 + background-color: #007d84; 533 + color: white; 534 +} 535 +</style> 536 +</head> 537 + <table id="cecTable"; cellspacing="5px" cellpadding="5%" border="1" width="100%"; align="left"> 483 483 <col style="width:30%"> 484 484 <col style="width:70%"> 540 + <th colspan = "2"> 541 + <b>Company Information</b> 542 + </th> 485 485 <tr> 486 486 <td align="left" class="style1">Company name:</td> 487 487 <td class="style1"> ... ... @@ -490,6 +490,45 @@ 490 490 </td> 491 491 </tr> 492 492 <tr> 551 + <td align="left" class="style1">Registered Business Address - House Number, Street:</td> 552 + <td class="style1"> 553 + <input type="hidden" id="companyaddress" name="companyaddress" readonly value="${xcontext.strCompanyAddress}" size="100"> 554 + ${xcontext.strCompanyAddress} 555 + </td> 556 + </tr> 557 + <tr> 558 + <td align="left" class="style1">Registered Business Address - City:</td> 559 + <td class="style1"> 560 + <input type="hidden" id="companycity" name="companycity" readonly value="${xcontext.strCompanyCity}" size="100"> 561 + ${xcontext.strCompanyCity} 562 + </td> 563 + </tr> 564 + <tr> 565 + <td align="left" class="style1">Registered Business Address - Postal Code:</td> 566 + <td class="style1"> 567 + <input type="hidden" id="companypostcode" name="companypostcode" readonly value="${xcontext.strCompanyPostcode}" size="100"> 568 + ${xcontext.strCompanyPostcode} 569 + </td> 570 + </tr> 571 + <tr> 572 + <td align="left" class="style1">Registered Business Address - Province or State:</td> 573 + <td class="style1"> 574 + <input type="hidden" id="companyprovince" name="companyprovince" readonly value="${xcontext.strCompanyProvince}" size="100"> 575 + ${xcontext.strCompanyProvince} 576 + </td> 577 + </tr> 578 + <tr> 579 + <td align="left" class="style1">Registered Business Address - Country:</td> 580 + <td class="style1"> 581 + <input type="hidden" id="companycountry" name="companycountry" readonly value="${xcontext.strCompanyCountry}" size="50"> 582 + ${xcontext.strCompanyCountry} 583 + </td> 584 + </tr> 585 + <th colspan = "2"> 586 + <b>Your Contact Information</b> 587 + </th> 588 + 589 + <tr> 493 493 <td align="hidden" class="style1">Title:</td> 494 494 <td class="style1"> 495 495 <input type="hidden" id="title" name="title" readonly value="${xcontext.strTitle}" size="10">