Wählen Sie Ihre Sprache:

<we:form type="search">

Since version: - | Requires endtag: yes

Description

Attributes

type

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

Allowed values:

  • search

id

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

Set this attribute to the ID of the target webEdition document to which the form data is sent. Setting this attribute to "self" or not setting it at all will cause the form data to be sent to the current webEdition document.


name

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


method

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

Set this attribute to the HTTP transfer method. Valid parameters are "GET" and "POST".

Allowed values:

  • get
  • post

target

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

Set this attribute to the name of the window or frame in which the link should open.

Allowed values:

  • _top
  • _parent
  • _self
  • _blank

Syntax

<we:form type="search" [id="attribute"] [name="attribute"] [method="get|post"] [target="_top|_parent|_self|_blank"]> ... </we:form>

Examples

Example #1

<we:form type="search" name="search" id="self" method="get" xml="true">
  <p>
    <label for="SearchTerm">Your serach term</label><br />
    <we:search type="textinput" name="search" id="SearchTerm" xml="true"/>
    <input type="submit" value="Start search" />
  </p>
</we:form>