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

	<additionalhtml>
		Added in front of the closing form tag
	</additionalhtml>
  
  <javascript>
    <mode>strong</mode>
  </javascript>
  
  <defaults>
    <text size="1" maxlength="2"/>
    <file size="3"/>
    <image border="4"/>
    <intros errormsg = "Don't select me">
			<intro value="5">intro</intro>
		</intros>
    <css class="css class" id="id">style</css>
  </defaults>
  
  <elements nameprefix="elnp">
    
    <password name="password" elname="elname_password" size="10" readonly="false" frozen="false">
      value
  		<css class="css class" id="id">style</css>
      <html accesskey="" tabindex="">additional html</html>   
      <validation>
  			<length min="0" max="3">length_e</length>
  			<regexp reg="[a-z]" icase="false">valid_e</regexp>
        <phpfunction callback="false">callback</phpfunction>
        <jsfunction>
          // must have the name of the (phpfunction)
          function callback(form) {
            alert("callback " + form);
          }
        </jsfunction>
  		</validation>
  	</password>    
    
    <submit name="submit" elname="submit" width="1" height="1" frozen="false" accesskey="" tabindex="">
      value
      <html accesskey="" tabindex="">additional html</html>   
      <css class="css class" id="id">style</css>
  	</submit>
    
  </elements>
  
</form>

