Skip to content

Commit 71d203e

Browse files
Info zur Verwendung von Formularfelderen in Dokumenten (#58)
1 parent 93da371 commit 71d203e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/manual/frontend-configuration/modules/checkout/_index.de.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ Dass die Module hier noch einmal angewählt werden müssen, ermöglicht beispiel
166166

167167
Ein `Bestellbedingungsformular` ist ein per Formulargenerator von Contao erstelltes Formular, das du im Kassenmodul einbinden kannst. Es wird vor dem Absenden der Bestellung ausgegeben und kann beispielsweise aus einer Checkbox "Ich akzeptiere die AGB" bestehen.
168168

169-
{{% notice info %}}Übrigens: Alle Formularfelder sind auch als [Simple Tokens](/de/simple-tokens/) verfügbar in der entsprechenden Benachrichtigung. Würdest du dein AGB-Feld bspw. <code>agb_checkbox</code> nennen, so wäre der Simple Token <code>form_agb_checkbox</code> verfügbar.{{% /notice %}}
169+
{{% notice info %}}Übrigens: Alle Formularfelder sind auch als [Simple Tokens](/de/simple-tokens/) verfügbar in der entsprechenden Benachrichtigung. Würdest du dein AGB-Feld bspw. <code>agb_checkbox</code> nennen, so wäre der Simple Token <code>form_agb_checkbox</code> verfügbar. Ebenso ist es möglich die Formularfelder im Templates eines Dokuments auszugeben. Dazu verwende den folgenden Code: <code><?= print $this->collection->email_data['form_agb_checkbox'] ?></code>{{% /notice %}}
170170

171171
<table>
172172
<thead>

docs/manual/frontend-configuration/modules/checkout/_index.en.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ price (descending) </td> </tr><tr><td>Gallery</td> <td>-</td> <td>Here you can s
6464

6565
A `Bestellbedingungsformular` is a form created by Contao's form generator that you can include in the checkout module. It is displayed before the order is submitted and can for example consist of a checkbox "I accept the terms and conditions".
6666

67-
{{% notice info %}}By the way: All form fields are also available as [Simple Tokens](/de/simple-tokens/) in the corresponding notification. If you would name your AGB field e.g. `agb_checkbox`, the Simple Token `form_agb_checkbox` would be available.{{% /notice %}}
67+
{{% notice info %}}By the way: All form fields are also available as [Simple Tokens](/de/simple-tokens/) in the corresponding notification. If you would name your AGB field e.g. `agb_checkbox`, the Simple Token `form_agb_checkbox` would be available. It is also possible to output the form fields in the template of a document. To do this, use the following code: <code><?= print $this->collection->email_data['form_agb_checkbox'] ?></code>{{% /notice %}}
6868

6969
<table><thead><tr><th>Setting</th> <th>Default setting</th> <th>Description</th> </tr></thead><tbody><tr><td>Order Terms Form</td> <td>-</td> <td>Here you can select the desired form. Of course, you have to create it beforehand via the form generator. Logically, certain settings in the form, such as the forwarding, have no influence on this form. Only the form fields and their settings will be used.</td> </tr><tr><td>Tableless Layout</td> <td>-</td> <td>Determines whether the form should be output without HTML tables.</td> </tr><tr><td>Position of the form for the order conditions</td> <td>after the product list</td> <td>Here you can define where this form should be output. Options: - Top (Before address)
7070
- Before product list

0 commit comments

Comments
 (0)