<tml:form>

Avaliable since version 2.0.2

Description:
Generates a form for the imput of data.
Attributes:
General WebTML attributes are hidden -> show general attributes
Name Value(s) Version Usage

Details:

<tml:form> generates HTML of the following type at run time:

<form methode=post" id="myform" action="URL to the same page">
    ...
</form>

Normally it is used together with <tml:actions> that write the data.
Examples:

    <tml:form source="profile" id="myform">

      Name: <tml:input name="name"/>
      <a href="<tml:url type="action">this.tmlform.storeInProfile()</tml:url>">save</a>
    </tml:form>



    Here is an additional example for HTML File-Upload, attaching the files to the content document which is in active context <br>
    (works since WGAPublisher v. 2.2):

    <tml:action id="save">
    this.tmlform.attach( this.content() );
    </tml:action>

    <tml:form id="Upload">
    File Upload<br>
    <tml:input type="file" name="FileUpload"> size="80" </tml:input><br>
    <a href="<tml:url type="action" action="save"/>">Attach files to content document</a>
    </tml:form>