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

<test id="wml2/uabehaviour/formprocessing/forminitialisation/hiddencontrol/7" 
	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 not assigned, the NAME attribute is assigned, and the VALUE attribute
	is not specified, the initial value of the control is an empty string.
	</assertion>
  <specnote>Create a card with a hidden input control with the WML:NAME
  attribute not assigned, the NAME attribute assigned and the VALUE 
  attribute is not specified. Submit the form and make sure that the 
  value of the control is an empty string.
  </specnote>
  <results>
    <result>
      <name>test</name>
      <value>a</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" name="recipient" />
    			</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="a$recipient" />
						[[sessionvars]]
					</wml:go>
				</wml:onevent>
				[[auto_failed]]
			</wml:card>
		]]>
  </method>
</test>
