1. Startseite
  2. Wissensdatenbank
  3. SmartTags™.
  4. Formular SmartTags™
  5. Formularfeld SmartTag™ (MM_Form_Field) - Anmeldeformular

Formularfeld SmartTag™ (MM_Form_Field) - Anmeldeformular

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 Verwendungsbeispielen für den Formulartyp Anmeldung.

Anmeldung
  • Typ (optional) – Indicates the type of form field to create. ‘input’ is the only acceptable value and is also the default value. 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.

  • Name - Gibt an, welche Daten im Feld gesammelt werden. Nachstehend finden Sie eine Tabelle mit zulässigen Werten.
WertBeschreibung
NutzernameCollects the member’s username
PasswortCollects the member’s password
rememberMeOutputs a checkbox allowing the member to specify whether they want the site to remember them so they don’t have to login in again then next time they come back.
  • Etikett (optional) – This field is optional when the field ‘name’ is set to ‘rememberMe’. It specifies the label to output next to the remember me checkbox. The default value is ‘Remember Me’.

  • customAttributes (Bedingt durch den Feldtyp[MM2.4.1+] – This field is optional for ‘input’ fields. This attribute can be used to add additional HTML attributes to the HTML input field generated by MemberMouse. Whatever is set in this attribute will be added to the HTML verbatim. For example, if you do the following:
[MM_Form_Field name='username' customAttributes='placeholder="Your User Name"']

Es wird folgendes HTML generiert:

<input type="text" id="log" name="log" class="mm-field" placeholder="Your User Name">
War dieser Artikel hilfreich?

Verwandte Artikel

Sie können die gesuchte Antwort nicht finden?

Wenden Sie sich an unser Customer Success Team
Kontaktieren Sie uns!