Changes for page X1000 - Contact Registration Form
Last modified by SuperUwe Trueggelmann on 2025-05-26
From version 1.25
edited by SuperUwe Trueggelmann
on 2022-10-13
on 2022-10-13
Change comment:
There is no comment for this version
To version 1.30
edited by SuperUwe Trueggelmann
on 2022-10-13
on 2022-10-13
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -38,8 +38,8 @@ 38 38 if ((strEditCommand == "Correct") || (strEditCommand == "Register") || (strEditCommand == "Proceed")){ 39 39 40 40 strCompanyName = services.cleanStr.alphanum(request.companyname) 41 - strCompanyAddress = services.cleanStr.alphanum(request.company city)42 - strCompanyCity = services.cleanStr.alphanum(request.company address)41 + strCompanyAddress = services.cleanStr.alphanum(request.companyaddress) 42 + strCompanyCity = services.cleanStr.alphanum(request.companycity) 43 43 strCompanyPostcode = services.cleanStr.alphanum(request.companypostcode) 44 44 strCompanyProvince = services.cleanStr.alphanum(request.companyprovince) 45 45 strCompanyCountry = services.cleanStr.alphanum(request.companycountry) ... ... @@ -62,6 +62,11 @@ 62 62 sqlQueryInsertRec = "INSERT INTO " + strDBTable + 63 63 """( 64 64 companyname, 65 + companyaddress, 66 + companycity, 67 + companypostcode, 68 + companyprovince, 69 + companycountry, 65 65 title, 66 66 firstname, 67 67 lastname, ... ... @@ -77,6 +77,11 @@ 77 77 confemailsentcode) 78 78 VALUES( 79 79 '$strCompanyName', 85 + '$strCompanyAddress', 86 + '$strCompanyCity', 87 + '$strCompanyPostcode', 88 + '$strCompanyProvince', 89 + '$strCompanyCountry', 80 80 '$strTitle', 81 81 '$strFirstname', 82 82 '$strLastname', ... ... @@ -98,6 +98,11 @@ 98 98 """ 99 99 SET 100 100 companyname = '$strCompanyName', 111 + companyaddress = '$strCompanyAddress', 112 + companycity = '$strCompanyCity', 113 + companypostcode = '$strCompanyPostcode', 114 + companyprovince = '$strCompanyProvince', 115 + companycountry = '$strCompanyCountry', 101 101 title = '$strTitle', 102 102 firstname = '$strFirstname', 103 103 lastname = '$strLastname', ... ... @@ -119,7 +119,9 @@ 119 119 } 120 120 strEmailBody = "Dear " + strPrefname + "," 121 121 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" 122 122 strEmailBody = strEmailBody + "Name: " + strTitle + " " + strFirstname + " " + strLastname + "\r\n" 139 + strEmailBody = strEmailBody + "Registered Business Address:\r\n" 123 123 strEmailBody = strEmailBody + "Registered Business Name: " + strCompanyName + "\r\n" 124 124 strEmailBody = strEmailBody + "Registered Business Address: " + strCompanyAddress + "\r\n" 125 125 strEmailBody = strEmailBody + "Registered Business City: " + strCompanyAddress + "\r\n" ... ... @@ -126,6 +126,7 @@ 126 126 strEmailBody = strEmailBody + "Registered Business Postal Code: " + strCompanyAddress + "\r\n" 127 127 strEmailBody = strEmailBody + "Registered Business Province/State: " + strCompanyAddress + "\r\n" 128 128 strEmailBody = strEmailBody + "Registered Business Country: " + strCompanyAddress + "\r\n" 146 + strEmailBody = strEmailBody + "Contact info:" 129 129 strEmailBody = strEmailBody + "Role: " + strRole + "\r\n" 130 130 strEmailBody = strEmailBody + "Landline phone: " + strLphone + "\r\n" 131 131 strEmailBody = strEmailBody + "Mobile phone:" + strMphone + "\r\n" + "\r\n" ... ... @@ -464,9 +464,12 @@ 464 464 You have entered the following information to register to the CEC Scheme: 465 465 {{html wiki=false clean=false}} 466 466 <form action="" class="xformInline" method="post" name="User Registration Form"> 467 - <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"> 468 468 <col style="width:30%"> 469 469 <col style="width:70%"> 488 + <th colspan = "2"> 489 + <b>Company Information</b> 490 + </th> 470 470 <tr> 471 471 <td align="left" class="style1">Company name:</td> 472 472 <td class="style1"> ... ... @@ -475,6 +475,45 @@ 475 475 </td> 476 476 </tr> 477 477 <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> 478 478 <td align="hidden" class="style1">Title:</td> 479 479 <td class="style1"> 480 480 <input type="hidden" id="title" name="title" readonly value="${xcontext.strTitle}" size="10">