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 = "" ... ... @@ -108,6 +108,11 @@ 108 108 """ 109 109 SET 110 110 companyname = '$strCompanyName', 116 + companyaddress = '$strCompanyAddress', 117 + companycity = '$strCompanyCity', 118 + companypostcode = '$strCompanyPostcode', 119 + companyprovince = '$strCompanyProvince', 120 + companycountry = '$strCompanyCountry', 111 111 title = '$strTitle', 112 112 firstname = '$strFirstname', 113 113 lastname = '$strLastname', ... ... @@ -129,7 +129,9 @@ 129 129 } 130 130 strEmailBody = "Dear " + strPrefname + "," 131 131 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" 142 + strEmailBody = strEmailBody + "Registered name:\r\n" 132 132 strEmailBody = strEmailBody + "Name: " + strTitle + " " + strFirstname + " " + strLastname + "\r\n" 144 + strEmailBody = strEmailBody + "Registered Business Address:\r\n" 133 133 strEmailBody = strEmailBody + "Registered Business Name: " + strCompanyName + "\r\n" 134 134 strEmailBody = strEmailBody + "Registered Business Address: " + strCompanyAddress + "\r\n" 135 135 strEmailBody = strEmailBody + "Registered Business City: " + strCompanyAddress + "\r\n" ... ... @@ -136,6 +136,7 @@ 136 136 strEmailBody = strEmailBody + "Registered Business Postal Code: " + strCompanyAddress + "\r\n" 137 137 strEmailBody = strEmailBody + "Registered Business Province/State: " + strCompanyAddress + "\r\n" 138 138 strEmailBody = strEmailBody + "Registered Business Country: " + strCompanyAddress + "\r\n" 151 + strEmailBody = strEmailBody + "Contact info:" 139 139 strEmailBody = strEmailBody + "Role: " + strRole + "\r\n" 140 140 strEmailBody = strEmailBody + "Landline phone: " + strLphone + "\r\n" 141 141 strEmailBody = strEmailBody + "Mobile phone:" + strMphone + "\r\n" + "\r\n" ... ... @@ -149,11 +149,11 @@ 149 149 xcontext.put("strEmailBody",strEmailBody) 150 150 // services.writeLog.writeLogEntry(xcontext.getUser(), request.remoteAddr, doc.space, "INSERT AS NEW", intCurUID) 151 151 xcontext.put("strCompanyName",strCompanyName) 152 - xcontext.put("strCompany Name",strCompanyAddress)153 - xcontext.put("strCompany Name",strCompanyCity)154 - xcontext.put("strCompany Name",strCompanyPostcode)155 - xcontext.put("strCompany Name",strCompanyProvince)156 - xcontext.put("strCompany Name",strCompanyCountry)165 + xcontext.put("strCompanyAddress",strCompanyAddress) 166 + xcontext.put("strCompanyCity",strCompanyCity) 167 + xcontext.put("strCompanyPostcode",strCompanyPostcode) 168 + xcontext.put("strCompanyProvince",strCompanyProvince) 169 + xcontext.put("strCompanyCountry",strCompanyCountry) 157 157 xcontext.put("strTitle",strTitle) 158 158 xcontext.put("strFirstname",strFirstname) 159 159 xcontext.put("strLastname",strLastname) ... ... @@ -168,11 +168,11 @@ 168 168 } 169 169 if (strEditCommand == "Proceed"){ 170 170 xcontext.put("strCompanyName",strCompanyName) 171 - xcontext.put("strCompany Name",strCompanyAddress)172 - xcontext.put("strCompany Name",strCompanyCity)173 - xcontext.put("strCompany Name",strCompanyPostcode)174 - xcontext.put("strCompany Name",strCompanyProvince)175 - xcontext.put("strCompany Name",strCompanyCountry)184 + xcontext.put("strCompanyAddress",strCompanyAddress) 185 + xcontext.put("strCompanyCity",strCompanyCity) 186 + xcontext.put("strCompanyPostcode",strCompanyPostcode) 187 + xcontext.put("strCompanyProvince",strCompanyProvince) 188 + xcontext.put("strCompanyCountry",strCompanyCountry) 176 176 xcontext.put("strTitle",strTitle) 177 177 xcontext.put("strFirstname",strFirstname) 178 178 xcontext.put("strLastname",strLastname) ... ... @@ -187,11 +187,11 @@ 187 187 } 188 188 if (strEditCommand == "Correct"){ 189 189 xcontext.put("strCompanyName",strCompanyName) 190 - xcontext.put("strCompany Name",strCompanyAddress)191 - xcontext.put("strCompany Name",strCompanyCity)192 - xcontext.put("strCompany Name",strCompanyPostcode)193 - xcontext.put("strCompany Name",strCompanyProvince)194 - xcontext.put("strCompany Name",strCompanyCountry)203 + xcontext.put("strCompanyAddress",strCompanyAddress) 204 + xcontext.put("strCompanyCity",strCompanyCity) 205 + xcontext.put("strCompanyPostcode",strCompanyPostcode) 206 + xcontext.put("strCompanyProvince",strCompanyProvince) 207 + xcontext.put("strCompanyCountry",strCompanyCountry) 195 195 xcontext.put("strTitle",strTitle) 196 196 xcontext.put("strFirstname",strFirstname) 197 197 xcontext.put("strLastname",strLastname) ... ... @@ -360,6 +360,33 @@ 360 360 #if( $xcontext.strFormStatus == "DataCorrection" ) 361 361 {{html wiki=false clean=false}} 362 362 <form action="" class="xformInline" method="post" name="User Registration Form"> 376 +<head> 377 +<style> 378 +#cecTable { 379 + font-family: Arial, Helvetica, sans-serif; 380 + border-collapse: collapse; 381 + border-color: #007d84 382 + width: 100%; 383 +} 384 + 385 +#cecTable td, #cecTable th { 386 + border: 1px solid #007d84; 387 + padding: 8px; 388 +} 389 + 390 +#cecTable tr:nth-child(even){background-color: #d0d3d4;} 391 + 392 +#cecTable tr:hover {background-color: #ddd;} 393 + 394 +#cecTable th { 395 + padding-top: 12px; 396 + padding-bottom: 12px; 397 + text-align: left; 398 + background-color: #007d84; 399 + color: white; 400 +} 401 +</style> 402 +</head> 363 363 <table id="cecTable"; cellspacing="5px" cellpadding="5%" border="1" width="100%"; align="left"> 364 364 <col style="width:30%"> 365 365 <col style="width:70%"> ... ... @@ -474,9 +474,39 @@ 474 474 You have entered the following information to register to the CEC Scheme: 475 475 {{html wiki=false clean=false}} 476 476 <form action="" class="xformInline" method="post" name="User Registration Form"> 477 - <table id="table1"; cellspacing="5px" cellpadding="5%" border="1" width="100%"; align="left"> 517 +<head> 518 +<style> 519 +#cecTable { 520 + font-family: Arial, Helvetica, sans-serif; 521 + border-collapse: collapse; 522 + border-color: #007d84 523 + width: 100%; 524 +} 525 + 526 +#cecTable td, #cecTable th { 527 + border: 1px solid #007d84; 528 + padding: 8px; 529 +} 530 + 531 +#cecTable tr:nth-child(even){background-color: #d0d3d4;} 532 + 533 +#cecTable tr:hover {background-color: #ddd;} 534 + 535 +#cecTable th { 536 + padding-top: 12px; 537 + padding-bottom: 12px; 538 + text-align: left; 539 + background-color: #007d84; 540 + color: white; 541 +} 542 +</style> 543 +</head> 544 + <table id="cecTable"; cellspacing="5px" cellpadding="5%" border="1" width="100%"; align="left"> 478 478 <col style="width:30%"> 479 479 <col style="width:70%"> 547 + <th colspan = "2"> 548 + <b>Company Information</b> 549 + </th> 480 480 <tr> 481 481 <td align="left" class="style1">Company name:</td> 482 482 <td class="style1"> ... ... @@ -485,6 +485,45 @@ 485 485 </td> 486 486 </tr> 487 487 <tr> 558 + <td align="left" class="style1">Registered Business Address - House Number, Street:</td> 559 + <td class="style1"> 560 + <input type="hidden" id="companyaddress" name="companyaddress" readonly value="${xcontext.strCompanyAddress}" size="100"> 561 + ${xcontext.strCompanyAddress} 562 + </td> 563 + </tr> 564 + <tr> 565 + <td align="left" class="style1">Registered Business Address - City:</td> 566 + <td class="style1"> 567 + <input type="hidden" id="companycity" name="companycity" readonly value="${xcontext.strCompanyCity}" size="100"> 568 + ${xcontext.strCompanyCity} 569 + </td> 570 + </tr> 571 + <tr> 572 + <td align="left" class="style1">Registered Business Address - Postal Code:</td> 573 + <td class="style1"> 574 + <input type="hidden" id="companypostcode" name="companypostcode" readonly value="${xcontext.strCompanyPostcode}" size="100"> 575 + ${xcontext.strCompanyPostcode} 576 + </td> 577 + </tr> 578 + <tr> 579 + <td align="left" class="style1">Registered Business Address - Province or State:</td> 580 + <td class="style1"> 581 + <input type="hidden" id="companyprovince" name="companyprovince" readonly value="${xcontext.strCompanyProvince}" size="100"> 582 + ${xcontext.strCompanyProvince} 583 + </td> 584 + </tr> 585 + <tr> 586 + <td align="left" class="style1">Registered Business Address - Country:</td> 587 + <td class="style1"> 588 + <input type="hidden" id="companycountry" name="companycountry" readonly value="${xcontext.strCompanyCountry}" size="50"> 589 + ${xcontext.strCompanyCountry} 590 + </td> 591 + </tr> 592 + <th colspan = "2"> 593 + <b>Your Contact Information</b> 594 + </th> 595 + 596 + <tr> 488 488 <td align="hidden" class="style1">Title:</td> 489 489 <td class="style1"> 490 490 <input type="hidden" id="title" name="title" readonly value="${xcontext.strTitle}" size="10">