Wählen Sie Ihre Sprache:

<we:unsubscribe>

Since version: 2.2.0.0 | Requires endtag: no | Required modules: newsletter

Description

This tag is used to generate a single input field in a webEdition document so that a user can enter his or her email address to unsubscribe from a newsletter.

Attributes

size

Default value: - | since version: 2.2.0.0 | required: no

Set this attribute to the desired size of the input field.


maxlength

Default value: - | since version: 2.2.0.0 | required: no

Set this attribute to the maximum length that can be entered into the field.


value

Default value: - | since version: 2.2.0.0 | required: no

Set this attribute to the default content of the field.


class

Default value: - | since version: 2.2.0.0 | required: no

Set this attribute to the name of the style you want to use as defined in a CSS-Stylesheet. This attribute is used to define the apperance of the link.


style

Default value: - | since version: 2.2.0.0 | required: no

Set the value of this attribute to one or more CSS-sytle definitions. Using this attribute you can define the appearance of the link without defining a style sheet.


onchange

Default value: - | since version: 2.2.0.0 | required: no

Set this attribute to the value of a JavaScript function that will be executed if the content of the field is edited/changed.


xml

Default value: - | since version: - | required: no

Setting this attribute to "true" generates code conforming to the XHTML standard. Leaving it unset or setting it to "false" generates HTML code.

Allowed values:

  • true
  • false

Syntax

<we:unsubscribe [size="attribute"] [maxlength="attribute"] [value="attribute"] [class="attribute"] [style="attribute"] [onchange="attribute"] [xml="true|false"] />

Examples

Newsletter unsubscribe form

<we:form action="[id of document]" pass_id="form_newsletter_unsubscribe" method="post">
    <p>
      <label for="unsubscribeEmail">your email</label>
      <we:unsubscribe id="unsubscribeEmail" />
    </p>
    <p>
      <input type="submit" value="Unsubscribe" />
    </p>
  </we:form>