repeat-min repeat-max

<div id="observation" repeat="template" 
      repeat-start="5" repeat-min="3" repeat-max="10">
  <label>Species: 
    <input type="text" name="species[observation].name" value="" />
  </label>
  <label>Count: 
    <input type="number" min='1'  value=""
           name="species[observation].number" />
  </label>
<button type="remove">Delete Species</button>
</div>
<div><button type="add" template="observation">Add Species</button></div>

Previous | Next | Top | Cafe con Leche

Copyright 2007 Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified March 12, 2007