OpenWGA 7.6 - WebTML reference

WebTML tags » form

<tml:form defaultaction ="action-id">


Defines a WebTML action which is  invoked when the WebTML form is submitted per normal browser submit.


The given WebTML action gets executed if the form is sent over a HTML submit button e.g. via <input type="submit">. The action has access to the form data via the TMLScript Object  TMLForm.

This functionality is also able to assign submits, which are triggerd by pushing the enter key, to TML action.


ID of the WebTML Action.


The WebTML action "doSearch" is triggered if the enter key is pushed in the input field.

<tml:form id="search" defaultaction="doSearch">
    <tml:input name="query"/>
    <button type="submit">Search</button></td>