xforms:textarea

Purpose

A form control for larger amounts of text. Multi-line input, such as the body of an message, is an example.

Contains

Attribute groups

Example

<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/2002/06/xhtml2"
  xmlns:si="http://www.volantis.com/xmlns/2006/01/xdime2/si"
  xmlns:xforms="http://www.w3.org/2002/xforms">
  <head>
    <title>xforms:textarea</title>
    <xforms:model id="feedback">
      <xforms:instance>
        <si:instance>
          <si:item name="comment"/>
        </si:instance>
      </xforms:instance>
    </xforms:model>
  </head>
  <body>
    <xforms:textarea model="feedback" ref="comment" style="mcs-rows: 3; mcs-columns: 20">
      <xforms:label>Feedback:</xforms:label>
    </xforms:textarea>
  </body>
</html>

Related topics