<?xml version="1.0" encoding="UTF-8"?>

<test id="wml2/uabehaviour/formprocessing/forminitialisation/textinputcontrol/20"
	class="A" scope="wml2" testtype="application" type="manual" 
	source="wml2#5.4.2.2" device="both">
	<assertion>When using a text input control, the control is a TEXTAREA 
	element, the NAME attribute is assigned and the content of the TEXTAREA 
	element conforms to the input mask, the initial value of the control must 
	be the content of the element.
	</assertion>
	<specnote>Create a card that holds a textarea control, where the NAME 
	attribute names the form control variable and the content of the TEXTAREA 
	element conforms to the input mask. Make sure that the initial value of 
	the control is the content of the element.
	</specnote>
	<results>
		<result>
			<name>submit</name>
			<value>yes</value>
		</result>
	</results>
	<method>
		<![CDATA[
			<wml:card id="main" title="main" newcontext="true">
				<p>
					<form action="#card2">
						<fieldset>
							<p>recipient:</p>
							<textarea name="recipient" rows="2" cols="10" wml:format="*a" >
							star!
							</textarea>
						</fieldset>
						<fieldset>
							<input type="submit" value="submit" />
							<input type="reset" value="reset" />
						</fieldset>
					</form>
				</p>
				<p>Is the initial value of the control &quot;star!&quot;?
					<br />
					[[yesno]]
				</p>
			</wml:card>
		]]>
	</method>
</test>
