<we:subscribe type="email">
Since version: 2.2.0.0 | Requires endtag: no | Required modules: newsletter
Description
This tag is used to add a single-line input field to a webEdition document so that a user wanting to subscribe to a newsletter can enter his/her email address.
Attributes
type
Default value: - | since version: - | required: yes
Allowed values:
- email (required module: Newsletter Module)
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 allowed to 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.
onchange
Default value: - | since version: 2.2.0.0 | required: no
Set this attribute to the name of a JavaScript function which is triggered when the content of this field is changed or edited.
Syntax
<we:subscribe type="email" [size="attribute"] [maxlength="attribute"] [value="attribute"] [class="attribute"] [style="attribute"] [onchange="attribute"] />