<?xml version="1.0" encoding="UTF-8"?>
<test id="wml/struct/control/input/name/1" class="A" scope="wml" testtype="application" type="manual" source="wml13#11.6.3" device="both">
  <assertion>The NAME attribute of the INPUT element specifies the name of a variable
in which the input value is stored. If this variable is set when the INPUT
element is displayed, its value is used to initialize the content of the input
field.
</assertion>
  <results>
    <result>
      <name>submit</name>
      <value>yes</value>
    </result>
    <result>
      <name>test</name>
      <value>&lt;string1&gt;</value>
    </result>
  </results>
  <strings>
    <string id="1">startvalue
</string>
    <string id="2">Was the initial value of the input field "startvalue"?
</string>
  </strings>
  <method>
    <![CDATA[<card newcontext="true" id="main"> <onevent type="ontimer">
<refresh>
<setvar name="test" value="<string1>"/>
</refresh>
</onevent>
<timer name="mytimer" value="1"/>
<p>Initial value is "<string1>":
<input type="text" name="test"/>
! DO NOT change the input text
</p>
<p mode="wrap"><string2>
<br />
<yesno>
</p>
</card>]]>
  </method>
</test>

