[whatwg] Prefilling repetitions

Elliotte Harold wrote:
> However it strikes me as funny that I can't prefill a repeating form. e.g.
> 
> <div id="observation" repeat="template">
>   <label>Species:
>     <input type="text" name="species[observation].name"
>            data="http://www.example.com/values.html"/>
>   </label>
> </div>
> 

I could be wrong but you should be able to do this:
<div id="observation" repeat="template">
  <label>Species:
    <input type="text" name="species[observation].name"
           data="http://www.example.com/values[observation].html">
  </label>
</div>

Which seems like it would work.
Jeff Cutsinger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jeff.vcf
Type: text/x-vcard
Size: 178 bytes
Desc: not available
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20070313/719bb00c/attachment.vcf>

Received on Tuesday, 13 March 2007 11:16:13 UTC