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

<test id="wml2/uabehaviour/formprocessing/forminitialisation/hiddencontrol/3" 
	class="A" scope="wml2" testtype="application" type="manual" 
	source="wml2#5.4.2.3" device="both">
	<assertion>When using a hidden input control, the WML:NAME attribute
	is assigned but not set, and the VALUE attribute is specified, the 
	initial value of the control is the value of the VALUE attribute.
	</assertion>
  <specnote>Create a card with a hidden input control with the WML:NAME
  attribute assigned but not set, and the VALUE attribute is specified. 
  Submit the form and make sure that the initial value of the control 
  is the value of the VALUE attribute.
  </specnote>
  <results>
    <result>
      <name>test</name>
      <value>ric</value>
    </result>
  </results>
  <method>
		<![CDATA[
			<wml:card id="main" title="main" newcontext="true">
				<p>Please submit the form without changing anything</p>
				<form action="#card3">
     			<fieldset>
  					<p>hidden</p>
    				<input type="hidden" wml:name="recipient" value="ric"/>
    			</fieldset>
  				<fieldset>
   					<input type="submit" value="submit" />
   				</fieldset>
   			</form>
				[[auto_failed]]
			</wml:card>
			<wml:card id="card3" title="card3">
				<wml:onevent type="enterforward">
					<wml:go href="[[resulturl]]">
						<wml:postfield name="test" value="$recipient" />
						[[sessionvars]]
					</wml:go>
				</wml:onevent>
				[[auto_failed]]
			</wml:card>
		]]>
  </method>
</test>
