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

<test id="wml2/uabehaviour/formprocessing/forminteraction/textinputcontrol/11" 
	class="A" scope="wml2" testtype="application" type="manual" 
	source="wml2#5.4.3.2" device="both">
	<assertion>When using a text input control, the control is a TEXTAREA 
	element, and the user attempts to commit input, the user agent must 
	validate that input against the input mask, as defined by the 
	WML:FORMAT and WML:EMPTYOK attributes or their CSS equivalents.
	</assertion>
	<specnote>Create a card that holds a textarea control with a format 
	mask. Enter a value that does not conform to the input mask and attempt 
	to commit it. Make sure that the user agent does not accept the values
	for example, by refusing the characters entered by the user, displaying 
	an error message when submitting or when losing the focus.
	</specnote>
	<results>
		<result>
			<name>submit</name>
			<value>yes</value>
		</result>
	</results>
	<method>
		<![CDATA[
			<wml:card id="main" title="main" newcontext="true">
				<p>Please enter some letters in the input field
					And then Submit the form
				</p>
				<form action="#card2">
					<fieldset>
						<p>textarea:</p>
						<textarea wml:name="recipient" rows="2" cols="10" wml:format="NNNN*N"/>
					</fieldset>
					<fieldset>
						<input type="submit" value="submit" />
					</fieldset>
				</form>
				<p>Did the user agent refuse your value, for example, by refusing to
					enter your characters, displaying an error message when submitting
					or when losing the focus?
					<br/>
					[[yesno]]
				</p>
			</wml:card>
		]]>
	</method>
</test>
