<?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">
    
  	<date name="name_date1" elname="elname_date1" language="en" frozen="false" preload="true" format="d.m.Y" now="now">
      value
      <intros errormsg =" Don't select me">
        <intro value="-1">%</intro>
      </intros>
  		<limits>
  			<yearlong min="1990" max="2010"/>
  			<yearshort min="90" max="99"/>
  		</limits>
      <html>additional html</html>   
      <css class="css class" id="id">style</css>
      <validation>
        <phpfunction callback="true">callback</phpfunction>
        <jsfunctions>
          // must have the name of the (phpfunction)
          function callback(form) {
            // switch off length validaton 
            form.val_off("name_date1", "i");
          }
        </jsfunctions>      
      </validation>
    </date>
    
   	<date name="name_date2" elname="elname_date2" language="en" frozen="false" preload="true" format="H:i:s" now="now">
      <intros errormsg= "Don't select me">
        <intro value="-1">Please select</intro>
      </intros>
  		<limits>
  			<yearlong min="1990" max="2010"/>
  			<yearshort min="90" max="99"/>
  		</limits>
      <html>additional html</html>   
      <css class="css class" id="id">style</css>
      <validation>
        <phpfunction callback="true">callback2</phpfunction>
        <jsfunction>
          // must have the name of the (phpfunction)
          function callback2(form) {
            // switch off length validaton 
            form.val_off("name_date3", "i");
          }
        </jsfunction>      
      </validation>
    </date>


     <submit name="submit" elname="submit" width="1" height="1" frozen="false" accesskey="" tabindex="">
      go!
      <html accesskey="" tabindex="">additional html</html>   
      <css class="css class" id="id">style</css>
  	</submit>
    
  </elements>
  
</form>

