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 verifies that form fields within a repetition template are not successful. It also tests whether form fields disabled in the repetition template are also disabled in each instantiated repetition block, but note: for this to work in this implementation, authors must include a class name of "disabled" on all disabled elements in the repetition template element to ensure that they are also disabled in each repetition block. This is due to an issue in Firefox which is detailed in issue #9.
Form fields in repetition template should not be 'successful' (there should not be any querystring parameters with keys such as submitted[i]
; these fields should not be submitted):
Press 'submit form' to test...
Passed
Failed!
Form fields in the repetition template which are originally flagged as disabled
should be disabled in each instantiated repetition block:
Press 'submit form' to test...
Passed
Failed!