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

<test id="wml2/uabehaviour/formprocessing/forminitialisation/textinputcontrol/21"
	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 does not conform to the input mask, the initial value of the 
	control must be an empty string.
	</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 does not conform to the input mask. Make sure that the initial 
	value of the control is an empty string.
	</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" >
							1234
							</textarea>
						</fieldset>
						<fieldset>
							<input type="submit" value="submit" />
							<input type="reset" value="reset" />
						</fieldset>
					</form>
				</p>
				<p>Is the initial value of the control an empty string?
					<br />
					[[yesno]]
				</p>
			</wml:card>
		]]>
	</method>
</test>
