Web Forms 2.0 Test Case 2: Spec Example: Repeated rows

This test case demonstrates functionality of the Web Forms 2.0 specification and tests the compliance of this cross-browser Web Forms 2.0 implementation.

The following example from the specification "shows how to use repetition templates to dynamically add rows to a form in a table":

Initially, two rows would be visible, each with two text input controls, the first row having the values "John Smith" and "2", the second row having the values "" (a blank text field) and "1". The second row is the result of the (implied) repeat-start attribute adding a repetition block when the document was loaded.

If the "Add Row" button is pressed, a new row is added. The first such row would have the index 2 (since there are already two repetition blocks numbered 0 and 1) and so the controls would be named "name_2" and "count_2" respectively.

If the "Delete Row" button above is pressed, the row is removed.

←  | Test Suite Index |  →

Name Number of Cats


Web Forms 2.0 implementation
Version: 0.5.2 (2007-11-29) changelog
Weston Ruter