fbpx
  1. Home
  2. Knowledge Base
  3. SmartTags™
  4. Form SmartTags™
  5. Form Field SmartTag™ (MM_Form_Field) – forgotPassword form

Form Field SmartTag™ (MM_Form_Field) – forgotPassword form

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.
ValueDescription
emailCollects 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">
Was this article helpful?

Related Articles

Can’t find the answer you’re looking for?

Reach out to our Customer Success Team
Contact us!