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

  $Author: richard $

  $Revision: 1.8 $

  $Log: 3,v $
  Revision 1.8  2002/04/26 08:35:51  richard
  xml not well formed, p element

  Revision 1.7  2002/04/23 08:48:23  richard
  reset with a name

  Revision 1.6  2002/03/13 11:51:54  richard
  writing

  Revision 1.5  2002/02/28 16:39:50  richard
  error in the fiel, miss the quote

  Revision 1.4  2002/02/28 15:55:31  richard
  rewrite tests

  Revision 1.3  2001/10/30 16:22:31  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:16  gb
  Added the standard header of Author, Revision and Log at the top of each template file.


-->
<test id="wml2/uabehaviour/formprocessing/forminitialisation/3" class="A" 
	scope="wml2" testtype="application" type="manual" source="wml2#5.4.2" 
	device="both">
	<assertion>When setting up a form control, the user agent must store the 
	initial value of each control for use during form reset.
	</assertion>
	<specnote>Create a card that holds a text input control with an initial 
	value, and a reset control. Change the value in the text box, then press 
	the 'reset' button. The initial value must be re-displayed.
	</specnote>
	<results>
		<result>
			<name>submit</name>
			<value>yes</value>
		</result>
	</results>
	<method>
		<![CDATA[
			<wml:card id="main" title="main" newcontext="true">
				<p>Change the values in the controls then reset the form.</p>
				<form action="#dummy">
					<fieldset>
						<p>recipient:</p>
						<input wml:name="recipient" value="nb@nb.com" />
					</fieldset>
					<fieldset> 
						<p>subject:</p>
						<input wml:name="subject" value="WML2" /> 
					</fieldset>
					<fieldset>
						<input type="submit" value="submit" />
						<input type="reset" value="reset" />
					</fieldset>
				</form>	
				<p>Were the initial values of the controls re-displayed when the form 
					was reset?
					<br/>
					[[yesno]]
				</p>
			</wml:card>
		]]>
	</method>
</test>
