Dieses Tag wird in Verbindung mit dem Tag MM_Form verwendet. Es gibt Formularfelder aus, mit denen der Benutzer interagieren kann, um Daten einzugeben.
Attribute
Die verfügbaren Feldtypen und anderen Attribute variieren je nach übergeordnetem Formulartyp. Dieser Artikel befasst sich mit den Attributen und Anwendungsbeispielen für den Formulartyp 1clickPurchase.
1KlickEinkauf
Typ(optional) – Indicates the type of form field to create. Acceptable values are input, hidden or custom. The default value is ‘input’.Eingabe– Form fields of type ‘input’ output a standard HTML form element that the user can interact with to enter in information. Based on the value ‘name’ attribute MemberMouse will render the appropriate HTML form element. For example, a dropdown will be rendered for selecting a Country and an input field will be rendered for entering in a coupon code. The ‘name’ attribute is required for input form fields.Name(Bedingt durch den Feldtyp) – This field is required for ‘input’ field type. It indicates what data is being collected in the field. Below is a table of acceptable values.
shippingAddress | Collects the user’s shipping address | Eingabe, versteckt |
VersandStadt | Collects the user’s shipping city | Eingabe, versteckt |
shippingState | Collects the user’s shipping state | Eingabe, versteckt |
shippingZipCode | Collects the user’s shipping zip code | Eingabe, versteckt |
shippingCountry | Collects the user’s shipping country | Eingabe, versteckt |
shippingMethod | Erfasst die vom Benutzer gewünschte Versandart | Eingabe, versteckt |
couponCode | Erfasst den Gutscheincode, den der Benutzer auf die Bestellung anwenden möchte | Eingabe |

