Mailformplus - eingebene Daten Anzeigen lassen vor Versand [Gelöst]


  • 0 x
    17. 04. 2007, 12:33

    Hallo Liebe Community, ich benutze das MailFormPlus Formular, es klappt soweit auch alles Nur bräuchte ich noch eine Erweiterung/ Veränderung ?

    Und zwar bräuchte ich folgendes:

    Besucher gibt seine Daten ein, klickt auf senden und dann soll eine Seite erscheinen wo der User sieht welche Daten er angegeben hat. Und dadrunter sollten dann 2 Buttons sein wo einmal steht Korrektur und Senden.

    Ich hoffe Ihr könnt mir helfen. Ich bin euch für jeden Tipp sehr sehr Dankbar.

    liebe Grüße LaP


  • 0 x
    05. 05. 2007, 14:49 - Lösung

    Was muss bei diesem Formular in der TS Config geändert werden ?

    Mein Template sieht so aus:

    1. <!--
    2. ################################################
    3.  
    4. #new markers to be used in multipage forms:
    5.  
    6. ###ADDITIONAL_MULTIPAGE### ... make sure you insert this marker in every step between the <form> and </form> tag
    7. # This is where the automatic generated JS function and hidden fields are written.
    8. ###curStep### ... current step shown
    9. ###maxStep### ... number of steps
    10. ###link_nextStep_start### ... <a> start-tag for next page
    11. ###link_nextStep_stop### ... </a> end-tag for next page
    12. ###link_prevStep_start### ... <a> start-tag for previous page
    13. ###link_prevStep_stop### ... </a> end-tag for previous page
    14. ###link_reload_start### ... <a> start-tag for submitting form but stay on the same step
    15. ###link_reload_stop### ... </a> end-tag for submitting form but stay on the same step
    16. #
    17. #settings for file upload defined in TS:
    18. ###[name of upload field]_fileTypes### ... allowed filetypes eg. jpg,gif,pdf
    19. ###[name of upload field]_fileSize### ... maximum allowed filesize per file
    20. ###[name of upload field]_numberOfAllowedFiles### ... maximum number of files that can be uplaoded with this field
    21. ###[name of upload field]_numberOfUploadedFiles### ... number of currently uploaded files via this field
    22. ###[name of upload field]_numberOfRemainingFiles### ... number of remaining files that can be uploaded
    23.  
    24. ###############################################
    25.  
    26.  
    27.  
    28.  
    29.  
    30.  
    31.  
    32. ###############################################
    33. ## EXAMPLE ##
    34. ###############################################
    35. -->
    36. <!-- ###TEMPLATE_FORM1### begin -->
    37.  
    38. <!-- ###FORM_STARTBLOCK### begin-->
    39. Step ###curStep###/###maxStep###:
    40. <form name="Formular" method="post" action="index.php" enctype="multipart/form-data">
    41. <input type="hidden" name="id" value="###PID###">
    42. <input type="hidden" name="submitted" value="1">
    43. <input type="hidden" name="L" value="0">
    44. ###ERROR###
    45. <!-- ###FORM_STARTBLOCK### end-->
    46. <fieldset>
    47. <br />
    48. <legend><b>Ihre Kontaktdaten:</b></legend>
    49. <label for="anrede" style="display: block; float: left; width: 100px;">Anrede:&nbsp;</label>
    50. <span ###error_anrede###>
    51. <select name="anrede" id="anrede" size="1">
    52. <option value="" ###selected_anrede_###>bitte auswählen</option>
    53. <option value="Frau" ###selected_anrede_Frau###>Frau</option>
    54. <option value="Frau Dr." ###selected_anrede_FrauDr###>Frau Dr.</option>
    55. <option value="Herr" ###selected_anrede_Herr###>Herr</option>
    56. <option value="Herr Dr." ###selected_anrede_HerrDr###>Herr Dr.</option>
    57. </select></span><br /><br />
    58.  
    59. <label for="vorname" style="display: block; float: left; width: 100px;">Vorname:</label>
    60. <input type="text" name="vorname" id="vorname" value="###value_vorname###" size="35" ###error_vorname### />
    61. <br />
    62. <label for="name" style="display: block; float: left; width: 100px;">Name:&nbsp;</label>
    63. <input type="text" name="name" id="name" value="###value_name###" size="35" ###error_name### />
    64. <br />
    65. <label for="firma" style="display: block; float: left; width: 100px;">Firma:</label>
    66. <input type="text" name="firma" id="firma" value="###value_firma###" size="35" />
    67. <br />
    68. <label for="straße" style="display: block; float: left; width: 100px;">Straße:</label>
    69. <input type="text" name="strasse" id="strasse" value="###value_strasse###" size="35" ###error_strasse### />
    70. <br />
    71. <label for="postleitzahl" style="display: block; float: left; width: 100px;">Postleitzahl:</label>
    72. <input type="text" name="plz" id="plz" value="###value_plz###" size="35" ###error_plz### />
    73. <br />
    74. <label for="ort" style="display: block; float: left; width: 100px;">Ort/ Stadt:</label>
    75. <input type="text" name="ort" id="ort" value="###value_ort###" size="35" ###error_ort### />
    76. <br />
    77. <label for="bundesland" style="display: block; float: left; width: 100px;">Bundesland:</label>
    78. <input type="text" name="bundesland" id="bundesland" value="###value_bundesland###" size="35" ###error_bundesland### />
    79. <br />
    80. <label for="telefon" style="display: block; float: left; width: 100px;">Telefon:</label>
    81. <input type="text" name="telefon" id="telefon" value="###value_telefon###" size="35" ###error_telefon### />
    82. <br />
    83. <label for="fax" style="display: block; float: left; width: 100px;">Fax:</label>
    84. <input type="text" name="fax" id="fax" value="###value_fax###" size="35" />
    85. <br />
    86. <label for="email" style="display: block; float: left; width: 100px;">E-Mail:&nbsp;</label>
    87. <input type="text" name="email" id="email" value="###value_email###" size="35" ###error_email### />
    88. <br />
    89. <br />
    90. Falls vorhanden Bitte eintragen
    91. <br />
    92. <label for="Kd_id" style="display: block; float: left; width: 100px;">Kunden ID:&nbsp;</label>
    93. <input type="text" name="Kd_id" id="Kd_id" value="###value_Kd_id###" size="35" ###error_Kd_id### />
    94. <br />
    95.  
    96. <br />
    97.  
    98. </fieldset>
    99. <br />
    100. <fieldset>
    101. <br />
    102. <legend><b>Produktwahl:</b></legend>
    103. <br />
    104. <label for="domain" style="display: block; float: left; width: 100px;">Ihre Domain:</label>
    105. <input type="text" name="domain" id="domain" value="###value_domain###" size="35" />
    106. <br /><br />
    107. <label for="webspace" style="display: block; float: left; width: 100px;">Webspace:&nbsp;</label>
    108. <span ###error_webspace###>
    109. <select name="webspace" id="webspace" size="1">
    110. <option value="###selected_webspace_###">bitte auswählen</option>
    111. <option value="SMART-A" ###selected_webspace_smart_a###>SMART-A</option>
    112. <option value="SMART-B" ###selected_webspace_smart_b###>SMART-B</option>
    113. <option value="SMART-C" ###selected_webspace_smart_c##>SMART-C</option>
    114. <option value="START-A" ###selected_webspace_start_a###>START-A</option>
    115. <option value="START-B" ###selected_webspace_start_b###>START-B</option>
    116. <option value="START-C" ###selected_webspace_start_c###>START-C</option>
    117. <option value="PROFI-A" ###selected_webspace_profi_a###>PROFI-A</option>
    118. <option value="PROFI-B" ###selected_webspace_profi_b###>PROFI-B</option>
    119. <option value="PROFI-C" ###selected_webspace_profi_c###>PROFI-C</option>
    120. <option value="BUSINESS-A" ###selected_webspace_business_a###>BUSINESS-A</option>
    121. <option value="BUSINESS-B" ###selected_webspace_business_b###>BUSINESS-B</option>
    122. <option value="BUSINESS-C" ###selected_webspace_business_c###>BUSINESS-C</option>
    123. </select></span><br />
    124. <br />
    125.  
    126. </fieldset>
    127. <br />
    128. <fieldset>
    129. <br />
    130. <legend><b>Zahlungsmethode:</b></legend>
    131. <br />
    132. <label for="zahlung" style="display: block; float: left; width: 100px;">Zahlungsart:&nbsp;</label>
    133. <span ###error_zahlung###>
    134. <select name="zahlung" id="zahlung" size="1">
    135. <option value="" ###selected_zahlung_###>bitte auswählen</option>
    136. <option value="lastschriftverfahren" ###selected_lastschriftverfahren###>Per Lastschriftverfahren</option>
    137. <option value="rechnung" ###selected_rechnung###>Per Rechnung</option>
    138. </select></span><br />
    139. <label for="rechnung" style="display: block; float: left; width: 100px;">Rechnungsart:&nbsp;</label>
    140. <span ###error_rechnung###>
    141. <select name="rechnung" id="rechnung" size="1">
    142. <option value="" ###selected_rechnung_###>bitte auswählen</option>
    143. <option value="post" ###selected_post###>Per Post (zusätzlich 2,50 EUR)</option>
    144. <option value="mail" ###selected_mail###>Per E-Mail (kostenlos)</option>
    145. </select></span><br /><br />
    146. </fieldset>
    147. <br />
    148. <br />
    149. <fieldset>
    150. <br />
    151. <legend><b>Ihr Anliegen</b></legend>
    152. <label for="antwort">Bemerkung:&nbsp;</label>
    153. <span style="float:left; ###error_antwort###">
    154. <textarea id="antwort" name="antwort" rows="6" cols="40">###value_antwort###</textarea>
    155. <br />
    156. <br />
    157. </span>
    158.  
    159. </fieldset>
    160. <br style="clear: left;" />
    161. <fieldset>
    162. <legend><b>Wichtige Information:</b></legend>
    163. Ich habe die AGB gelesen und Akzeptiere sie <input type="Checkbox" name="agb" value="ja" ###error_AGB### />
    164. <br />
    165. Die AGB können Sie <a href="/index.php?id=87" target="_blank">hier</a> nachlesen.
    166. <br />
    167. <br />
    168. </fieldset>
    169. <br style="clear: left;" />
    170. <fieldset>
    171. <legend><b>Sicherheitsabfrage:</b></legend>
    172. <label for="spam" style="display: block; float: left; width: 90px;">
    173. <br />
    174. <span style="border: 1px solid grey; width:90px; height: 60px;">###CAPTCHA###</span>
    175. <br />
    176. Buchstaben hier eintragen:
    177. </label>
    178. <br style="clear: left;" />
    179. <span ###error_spam###>
    180. <input type="text" id="spam" name="spam" value="###value_spam###" size="35" />
    181. </span>
    182. <br />
    183. <br />
    184. </fieldset>
    185.  
    186. ###link_nextStep_start### next ###link_nextStep_stop###
    187.  
    188. <!-- ###FORM_ENDBLOCK### begin -->
    189. ###ADDITIONAL_MULTIPAGE###
    190. </form>
    191. <!-- ###FORM_ENDBLOCK### end -->
    192.  
    193. <!-- ###TEMPLATE_FORM1### end -->
    194.  
    195.  
    196.  
    197.  
    198. <!-- ###TEMPLATE_FORM2### begin -->
    199. ###STARTBLOCK###
    200. Hobby:<br />
    201. ###error_hobby###
    202. <input type="text" name="hobby" value="###value_hobby###">
    203. <br />
    204. job:<br />
    205. ###error_job###
    206. <input type="text" name="job" value="###value_job###">
    207. <br>
    208. surme: ###value_surname###<br>
    209. job: ###value_job###<br>
    210. picture: ###value_picture###<br>
    211. ###link_prevStep_start###back###link_prevStep_stop### ###link_nextStep_start###next###link_nextStep_stop###
    212. ###ENDBLOCK###
    213. <!-- ###TEMPLATE_FORM2### end -->
    214.  
    215.  
    216.  
    217.  
    218. <!-- ###TEMPLATE_FORM3### begin -->
    219. ###STARTBLOCK###
    220. picture:<br />
    221. you are allowed to upload <b>###picture_numberOfAllowedFiles###</b> files.<br>
    222. you can upload <b>###picture_numberOfRemainingFiles###</b> more files.<br>
    223. allowed file types: <b>###picture_fileTypes###</b><br>
    224. <br>
    225. ###error_picture###
    226. uploaded file(s):<br>
    227. <b>###picture###</b><br>
    228. <input type="file" name="picture" size="5" maxlength="3000000" accept="application/zip/image">
    229. ###link_reload_start###upload file now###link_reload_stop###
    230. <br>
    231. surme: ###value_surname###<br>
    232. job: ###value_job###<br>
    233. ###link_prevStep_start###back###link_prevStep_stop### ###link_nextStep_start###submit###link_nextStep_stop###
    234. ###ENDBLOCK###
    235. <!-- ###TEMPLATE_FORM3### end -->
    236.  
    237.  
    238.  
    239.  
    240.  
    241.  
    242. <!-- ###TEMPLATE_EMAIL_RECEIVER### begin -->
    243. Form was submitted (Receiver):
    244. surname: ###surname###
    245. email: ###email###
    246. hobby: ###hobby###
    247. job: ###job###
    248. picture: ###picture###
    249. ----------------------
    250. <!-- ###TEMPLATE_EMAIL_RECEIVER### end -->
    251.  
    252.  
    253. <!-- ###TEMPLATE_EMAIL_RECEIVER_HTML### begin -->
    254. Form was submitted (Receiver):<br>
    255. surname: <b>###surname###</b><br>
    256. email: ###email###<br>
    257. hobby: ###hobby###<br>
    258. job: ###job###<br>
    259. picture: ###picture###<br>
    260. <hr>
    261. <!-- ###TEMPLATE_EMAIL_RECEIVER_HTML### end -->
    262.  
    263.  
    264.  
    265.  
    266.  
    267. <!-- ###TEMPLATE_EMAIL_USER### begin -->
    268. Form was submitted (User):
    269. surname: ###surname###
    270. email: ###email###
    271. hobby: ###hobby###
    272. job: ###job###
    273. picture: ###picture###
    274. ----------------------
    275. <!-- ###TEMPLATE_EMAIL_USER### end -->
    276.  
    277.  
    278. <!-- ###TEMPLATE_EMAIL_USER_HTML### begin -->
    279. Form was submitted (User):<br>
    280. surname: <b>###surname###</b><br>
    281. email: ###email###<br>
    282. hobby: ###hobby###<br>
    283. job: ###job###<br>
    284. picture: ###picture###<br>
    285. <hr>
    286. <!-- ###TEMPLATE_EMAIL_USER_HTML### end -->
    287.  
    288.  
    289.  
    290.  
    291. <!-- ###TEMPLATE_ERROR### begin -->
    292.  
    293. <!-- ###ERROR_START### begin -->
    294. <ul>
    295. <!-- ###ERROR_START### end -->
    296.  
    297.  
    298. <!-- ###ERROR_END### begin
    299. this is used for the global error marker ###ERROR### -->
    300. </ul>
    301. <!-- ###ERROR_END### end -->
    302.  
    303.  
    304.  
    305. <!-- ###ERROR_FILESIZE### begin
    306. this is used if you use the file upload functionality -->
    307. <li>File is to large!</li><br>
    308. <!-- ###ERROR_FILESIZE### end -->
    309.  
    310. <!-- ###ERROR_FILETYPE### begin
    311. this is used if you use the file upload functionality -->
    312. <li>File not allowed!</li><br>
    313. <!-- ###ERROR_FILETYPE### end -->
    314.  
    315.  
    316. <!-- ###TEMPLATE_ERROR### end -->

    So sieht das Setup von meinem Template aus:
    [TS]##########################################
    #MailFormPlus - Multipage
    plugin.tx_thmailformplus_pi1.markers.anrede = TEXT
    plugin.tx_thmailformplus_pi1.markers.anrede.data = GPVar:anrede

    plugin.tx_thmailformplus_pi1.markers.value_vorname = TEXT
    plugin.tx_thmailformplus_pi1.markers.value_vorname.dat a = GPVar:vorname

    plugin.tx_thmailformplus_pi1.markers.value_name = TEXT
    plugin.tx_thmailformplus_pi1.markers.value_name.dat a = GPVar:name

    plugin.tx_thmailformplus_pi1.markers.value_firma = TEXT
    plugin.tx_thmailformplus_pi1.markers.value_firma.dat a = GPVar:firma[/TS]

    Ansonsten läuft das Formular mit der einseitigen Variante sehr gut :)

    Hoffe Ihr könnt mir helfen, da ich leider nicht weiter komme -.-