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

<test id="wml2/uabehaviour/formprocessing/forminteraction/textinputcontrol/7" 
	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 "password", and the user enters 
	data into that text control, for which there is no input mask set, the 
	user agent must set the control variable to the control's current value.
	</assertion>
	<specnote>Create a card that holds a text input control with the TYPE 
	attribute set to "password" and no format mask. Display the card and 
	enter a value and commit it. This could take you to another card, which 
	will display the control variables value, which should be the value of 
	the text that was input into the control.
	</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="password" wml:name="recipient" />
					</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>
