1. Início
  2. Base de conhecimento
  3. SmartTags™
  4. Formulário SmartTags™
  5. Form Field SmartTag™ (MM_Form_Field) - formulário forgotPassword

Form Field SmartTag™ (MM_Form_Field) - formulário forgotPassword

Essa tag é usada em conjunto com a tag MM_Form. Ela gera campos de formulário com os quais o usuário pode interagir para inserir dados.

Atributos

Os tipos de campos disponíveis e outros atributos variam de acordo com o tipo de formulário pai. Este artigo trata dos atributos e exemplos de uso do tipo de formulário forgotPassword.

forgotPassword
  • tipo (opcional) – 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.

  • nome - Indica quais dados estão sendo coletados no campo. Abaixo está uma tabela de valores aceitáveis.
ValorDescrição
e-mailCollects the member’s email address
  • customAttributes (condicional com base no tipo de campo) [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="Endereço de e-mail"']

O seguinte HTML será gerado:

<input type="text" id="email" name="email" class="mm-field" placeholder="Email Address">
Este artigo foi útil?

Artigos relacionados

Não consegue encontrar a resposta que está procurando?

Entre em contato com nossa Equipe de Sucesso do Cliente
Entre em contato conosco!