Form SmartTag™ (MM_Form)

This tag is the primary tag required for inserting a form into a page. Using this tag alone won’t result in anything being rendered to the screen for the user to see. Its function is to specify the form type and provide any default parameters to all form tags contained within this tag so that MemberMouse knows how to process them. This tag is meant to be used in conjunction with the other form tags including:

Atributos

tipo – Indicates which type of form is being created. Possible values are ‘checkout’, ‘myaccount’, ‘login’, ‘forgotpassword’, ‘resetpassword’, ‘1clickpurchase’, and ‘custom’.

Atributos adicionais por tipo de formulário

Diferentes tipos de formulário suportam diferentes atributos. Abaixo está uma lista dos atributos suportados, divididos por tipo de formulário.

checkout

productId (opcional) – Specifies the ID of the product being purchased on the checkout form. If this attribute is not provided then the checkout form will attempt to get the product ID from the querystring parameter ‘rid’ in the browser URL. If both this attribute and the ‘rid’ querystring parameter are set then the querystring parameter will be used.

membershipLevelId (opcional) – Specifies the ID of the membership level being purchased or signed up for on the checkout form. If this attribute is not provided then the checkout form will attempt to get the product ID from the querystring parameter ‘rid’ in the browser URL. If both this attribute and the ‘rid’ querystring parameter are set then the querystring parameter will be used.

minha conta

não há suporte para atributos adicionais

login

não há suporte para atributos adicionais

forgotPassword

não há suporte para atributos adicionais

redefinir senha

não há suporte para atributos adicionais

1 clique para comprar

não há suporte para atributos adicionais

personalizado

onSuccess (opcional) - Especifica o URL para o qual redirecionar depois que o formulário tiver sido enviado e processado com êxito.

Uso
[MM_Form type='checkout']

...

[/MM_Form]

[MM_Form type='myaccount']

...

[/MM_Form]

[MM_Form type='1clickpurchase']

...

[/MM_Form]

[MM_Form type='custom']

...

[/MM_Form]
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!