Esta etiqueta se utiliza junto con la etiqueta MM_Form. Genera campos de formulario con los que el usuario puede interactuar para introducir datos.
Atributos
Los tipos de campo disponibles y otros atributos variarán en función del tipo de formulario principal. Este artículo trata de los atributos y ejemplos de uso para el tipo de formulario 1clickPurchase.
Comprar con 1 clic
tipo(opcional) – Indicates the type of form field to create. Acceptable values are input, hidden or custom. The default value is ‘input’.entrada– 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.nombre(condicional en función del tipo de campo) – 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 | entrada, oculto |
envíoCiudad | Collects the user’s shipping city | entrada, oculto |
shippingState | Collects the user’s shipping state | entrada, oculto |
shippingZipCode | Collects the user’s shipping zip code | entrada, oculto |
shippingCountry | Collects the user’s shipping country | entrada, oculto |
shippingMethod | Recoge el método de envío que el usuario desea utilizar | entrada, oculto |
código de cupón | Recoge el código de cupón que el usuario quiere aplicar al pedido | entrada |

