This tag is used in conjunction with the MM_Form tag. It outputs form fields that the user can interact with to enter in data.
Attributes
Available field types and other attributes will vary based on the parent form type. This article deals with the attributes and usage examples for the forgotPassword form type.
forgotPassword
type
(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
– Indicates what data is being collected in the field. Below is a table of acceptable values.
Value | Description |
email | Collects the member's email address |
customAttributes
(conditional based on field type) [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='email' customAttributes='placeholder="Email Address"']
The following HTML will be generated:
<input type="text" id="email" name="email" class="mm-field" placeholder="Email Address">