<?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">
    
    <combo name="name_combo1" elname="elname_combo1" inputsize="10" readonly="false" sort="true" frozen="false" add="true" size="2">
      combo_1_value
  		<options>
        <option value="1">1</option>
        <option value="2">2</option>
        <option value="3">3</option>
  		</options>
  		<intros errormsg = "Don't select me">
  			<intro value="0">Please select</intro>
  		</intros>
   		<validation>
  			<length min="1" max="2">length_e</length>
  			<regexp reg="[a-z]" icase="false">valid_e</regexp>
        <phpfunction callback="true">callback</phpfunction>
        <jsfunction>
          // must have the name of the (phpfunction)
          function callback(form) {
            // switch off length validaton 
            form.val_off("name_text", "l");
          }
        </jsfunction>
  		</validation>
      <css class="css class" id="id">style</css>
      <html accesskey="A" tabindex="2">additional html</html>   
  	</combo>

     <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>

