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 = "" ... ... @@ -143,7 +143,7 @@ 143 143 strEmailBody = strEmailBody + "Registered Business Postal Code: " + strCompanyAddress + "\r\n" 144 144 strEmailBody = strEmailBody + "Registered Business Province/State: " + strCompanyAddress + "\r\n" 145 145 strEmailBody = strEmailBody + "Registered Business Country: " + strCompanyAddress + "\r\n" 146 - strEmailBody = strEmailBody + "Contact info: 151 + strEmailBody = strEmailBody + "Contact info:" 147 147 strEmailBody = strEmailBody + "Role: " + strRole + "\r\n" 148 148 strEmailBody = strEmailBody + "Landline phone: " + strLphone + "\r\n" 149 149 strEmailBody = strEmailBody + "Mobile phone:" + strMphone + "\r\n" + "\r\n" ... ... @@ -157,11 +157,11 @@ 157 157 xcontext.put("strEmailBody",strEmailBody) 158 158 // services.writeLog.writeLogEntry(xcontext.getUser(), request.remoteAddr, doc.space, "INSERT AS NEW", intCurUID) 159 159 xcontext.put("strCompanyName",strCompanyName) 160 - xcontext.put("strCompany Name",strCompanyAddress)161 - xcontext.put("strCompany Name",strCompanyCity)162 - xcontext.put("strCompany Name",strCompanyPostcode)163 - xcontext.put("strCompany Name",strCompanyProvince)164 - 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) 165 165 xcontext.put("strTitle",strTitle) 166 166 xcontext.put("strFirstname",strFirstname) 167 167 xcontext.put("strLastname",strLastname) ... ... @@ -176,11 +176,11 @@ 176 176 } 177 177 if (strEditCommand == "Proceed"){ 178 178 xcontext.put("strCompanyName",strCompanyName) 179 - xcontext.put("strCompany Name",strCompanyAddress)180 - xcontext.put("strCompany Name",strCompanyCity)181 - xcontext.put("strCompany Name",strCompanyPostcode)182 - xcontext.put("strCompany Name",strCompanyProvince)183 - 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) 184 184 xcontext.put("strTitle",strTitle) 185 185 xcontext.put("strFirstname",strFirstname) 186 186 xcontext.put("strLastname",strLastname) ... ... @@ -195,11 +195,11 @@ 195 195 } 196 196 if (strEditCommand == "Correct"){ 197 197 xcontext.put("strCompanyName",strCompanyName) 198 - xcontext.put("strCompany Name",strCompanyAddress)199 - xcontext.put("strCompany Name",strCompanyCity)200 - xcontext.put("strCompany Name",strCompanyPostcode)201 - xcontext.put("strCompany Name",strCompanyProvince)202 - 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) 203 203 xcontext.put("strTitle",strTitle) 204 204 xcontext.put("strFirstname",strFirstname) 205 205 xcontext.put("strLastname",strLastname) ... ... @@ -368,6 +368,33 @@ 368 368 #if( $xcontext.strFormStatus == "DataCorrection" ) 369 369 {{html wiki=false clean=false}} 370 370 <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> 371 371 <table id="cecTable"; cellspacing="5px" cellpadding="5%" border="1" width="100%"; align="left"> 372 372 <col style="width:30%"> 373 373 <col style="width:70%"> ... ... @@ -384,7 +384,7 @@ 384 384 <tr> 385 385 <td align="left" class="style1">Registered Business Address - House Number, Street:</td> 386 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"> 419 + <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"> 388 388 </select> 389 389 </td> 390 390 </tr> ... ... @@ -391,7 +391,7 @@ 391 391 <tr> 392 392 <td align="left" class="style1">Registered Business Address - City:</td> 393 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"> 426 + <input type="text" id="companycity" name="companycity" placeholder="Enter the City part of your company's registered business address" value="${xcontext.strCompanyCity}" size="100"> 395 395 </select> 396 396 </td> 397 397 </tr> ... ... @@ -398,7 +398,7 @@ 398 398 <tr> 399 399 <td align="left" class="style1">Registered Business Address - Postal Code:</td> 400 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"> 433 + <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"> 402 402 </select> 403 403 </td> 404 404 </tr> ... ... @@ -405,7 +405,7 @@ 405 405 <tr> 406 406 <td align="left" class="style1">Registered Business Address - Province or State:</td> 407 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"> 440 + <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"> 409 409 </select> 410 410 </td> 411 411 </tr> ... ... @@ -412,7 +412,7 @@ 412 412 <tr> 413 413 <td align="left" class="style1">Registered Business Address - Country:</td> 414 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"> 447 + <input type="text" id="companycountry" name="companycountry" placeholder="Enter the Country part of your company's registered business address" value="${xcontext.strCompanyCountry}" size="50"> 416 416 </select> 417 417 </td> 418 418 </tr> ... ... @@ -482,9 +482,39 @@ 482 482 You have entered the following information to register to the CEC Scheme: 483 483 {{html wiki=false clean=false}} 484 484 <form action="" class="xformInline" method="post" name="User Registration Form"> 485 - <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"> 486 486 <col style="width:30%"> 487 487 <col style="width:70%"> 547 + <th colspan = "2"> 548 + <b>Company Information</b> 549 + </th> 488 488 <tr> 489 489 <td align="left" class="style1">Company name:</td> 490 490 <td class="style1"> ... ... @@ -493,6 +493,45 @@ 493 493 </td> 494 494 </tr> 495 495 <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> 496 496 <td align="hidden" class="style1">Title:</td> 497 497 <td class="style1"> 498 498 <input type="hidden" id="title" name="title" readonly value="${xcontext.strTitle}" size="10">