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

<test id="wml2/uabehaviour/formprocessing/forminitialisation/textinputcontrol/28" 
	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, neither the WML:NAME or NAME attribute is assigned, and the form 
	control has a content, the initial value must be the content of the 
	element.
	</assertion>
	<specnote>Create a card that contains a textarea control without the 
	WML:NAME or NAME attributes set but with a content. Call the card and 
	make sure that when it is displayed, the content of the TEXTAREA element 
	is pre-loaded into the control.
	</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 rows="10" cols="10">toto</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>
