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

<test id="wml2/uabehaviour/formprocessing/forminitialisation/textinputcontrol/26" 
	class="A" scope="wml2" testtype="application" type="manual" 
	source="wml2#5.4.2.2" device="both">
	<assertion>When using a text input control, the control is an INPUT 
	element, the TYPE attribute is set to "text", neither the WML:NAME or 
	NAME attribute is assigned, and the VALUE attribute is, the value of the 
	VALUE attribute must be pre-loaded into the form control.
	</assertion>
	<specnote>Create a card that contains a text input control without the 
	WML:NAME or NAME attributes set but with the VALUE attribute set. 
	Call the card and make sure that when it is displayed, the value of the 
	VALUE attribute specified is pre-loaded into the control.
	</specnote>
	<results>
		<result>
			<name>submit</name>
			<value>yes</value>
		</result>
	</results>
	<method>
		<![CDATA[
			<wml:card id="main" title="main" newcontext="true">
				<form action="#card2">
					<fieldset>
						<p>input:</p>
						<input type="text" value="toto" />
					</fieldset>
				</form>
				<p>Is the initial value of the control &quot;toto&quot;?
					<br />
					[[yesno]]
				</p>
			</wml:card>
		]]>
	</method>
</test>
