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
-
... ... @@ -3,7 +3,7 @@ 3 3 import groovy.sql.Sql 4 4 5 5 String strDBTable = "\"regUser\".\"newUser\"" 6 - def sqlConnection = new Sql(services.cmpConnect RegDB.connectRegDB())6 + def sqlConnection = new Sql(services.cmpConnectDB.connectRegDB()) 7 7 8 8 String strCurRecCol = "firstname" 9 9 int intRecCount=0 ... ... @@ -317,9 +317,9 @@ 317 317 </td> 318 318 </tr> 319 319 <tr> 320 - <td align="left" class="style1">Preferred name to address you:</td> 320 + <td align="left" class="style1">Preferred name to address you:<br>Examples: Peter, Mr. Parker, Fujikawa-san</td> 321 321 <td class="style1"> 322 - <input type="text" id="prefname" name="prefname" placeholder="Enter the name you want to be addressed by, for example in e-mails and letters" size=" 50">322 + <input type="text" id="prefname" name="prefname" placeholder="Enter the name you want to be addressed by, for example in e-mails and letters" size="70"> 323 323 </td> 324 324 </tr> 325 325 <tr> ... ... @@ -701,15 +701,34 @@ 701 701 ## Check if the mail we tried to send has failed to be sent 702 702 #set ($statuses = $mailResult.statusResult.getAllErrors()) 703 703 #if ($statuses.hasNext()) 704 + 705 + {{warning}} 706 + Something has gone wrong! Please do not try again! 707 + {{/warning}} 708 + 704 704 #set ($status = $statuses.next()) 710 + {{warning}} 711 + I am sorry, but there was a problem with sending you your confirmation e-mail! 712 + The data you entered has likely already been stored in our database, and will not need to be entered again. 713 + Hence, please do not try entering the information again but instead send an e-mail to contact@cecocert.com informing us about the problem. 714 + As the subject line, please enter "CEC Registration - e-mail problem". 715 + In the body of the e-mail, please simply provide your name and that of your company. 716 + If possible, please copy and paste the error message shown below in red into the e-mail, below your name and that of your company. 717 + We are sorry for the inconvenience! 718 + {{/warning}} 719 + 705 705 {{error}} 706 706 Error: $status.errorSummary ($status.state) 707 707 $status.errorDescription 708 - {{/error}} 723 + {{/error}} 724 + 725 + #else 726 + {{info}} 727 + An e-mail asking you to confirm your e-mail address was sent to ${xcontext.strEmail}. 728 + Please check your inbox and click on the link to confirm your e-mail address! 729 + The process will only continue after you have confirmed your e-mail address. 730 + {{/info}} 709 709 #end 710 - An e-mail asking you to confirm your e-mail address was sent to ${xcontext.strEmail}. 711 - Please check your inbox and click on the link to confirm your e-mail address! 712 - The process will only continue after you have confirmed your e-mail address. 713 713 #end 714 714 715 715 {{/velocity}}