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

  $Author: richard $

  $Revision: 1.7 $

  $Log: 3,v $
  Revision 1.7  2002/06/06 13:46:36  richard
  new spec

  Revision 1.6  2002/04/25 13:17:21  richard
  add an extra autofailed

  Revision 1.5  2002/04/20 08:43:41  richard
  yesno

  Revision 1.4  2002/03/14 11:04:04  richard
  rewrite test

  Revision 1.3  2001/10/30 16:22:45  gb
  Modified all the test files in the wml2 directory such that it puts the <?xml?> declaration back at the top of the file, before the comment.

  Revision 1.2  2001/10/08 21:56:25  gb
  Added the standard header of Author, Revision and Log at the top of each template file.


-->
<test id="wml2/uabehaviour/formprocessing/forminteraction/textinputcontrol/3" 
	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 an INPUT 
	element, the TYPE attribute is set to "text", and the user attempts to 
	commit input which conforms to the input mask set, the user agent must 
	set the control variable to that value.
	</assertion>
	<specnote>Create a card that holds a text input control with the TYPE 
	attribute is set to "text" and a format mask. Enter a value that does 
	conforms to the input mask and commit it. Set the card to navigate to 
	a second card that will display the control variables value.
	</specnote>
	<results>
		<result>
			<name>submit</name>
			<value>yes</value>
		</result>
	</results>
	<method>
		<![CDATA[
			<wml:card id="main" title="main" newcontext="true">
				<p>Please Enter a value for the recipient.
					And then submit the form.
				</p>
				<form action="#card2">
					<fieldset>
						<p>recipient:</p>
						<input type="text" wml:name="recipient" wml:format="*M"/>
					</fieldset>
					<fieldset>
						<input type="submit" value="submit" />
					</fieldset>
				</form>
				[[auto_failed]]
			</wml:card>
			<wml:card id="card2" title="card2">
				<p>This is card 2<br />
					$$recipient = $(recipient)<br />
				</p>
				<p>Was the value of the control (your value) displayed in card2?
					<br/>
					[[yesno]]
				</p>
			</wml:card>	
		]]>
	</method>
</test>
