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

<test id="wml2/uabehaviour/formprocessing/forminitialisation/textinputcontrol/22" 
	class="A" scope="wml2" testtype="application" type="manual" 
	source="wml2#5.4.2.2" device="both">
	<assertion>When using a text input control, and the control is a TEXTAREA 
	element, the initial value must be pre-loaded into the control, when the 
	NAME control attribute is set.
	</assertion>
	<specnote>Create a card that holds a text input control, with the NAME 
	attribute set and the value of the VALUE attribute set to a non-empty 
	value. Display the card and make sure that the initial value of the 
	control is the value of the VALUE attribute.
	</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" value="toto" rows="2" cols="10">
								FALSE
							</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;toto&quot;?
					<br/>
					[[yesno]]
				</p>
			</wml:card>
		]]>
	</method>
</test>
