W3C home > Mailing lists > Public > www-forms@w3.org > December 2003

RE: Proposal for Extensions to HTML4

From: Borgrink, Susan <sborgrink@progeny.net>
Date: Tue, 9 Dec 2003 11:51:13 -0500
Message-ID: <FB041607EAE6DF4697B73E29142D1C4B015548@es3.progeny.net>
To: <www-forms@w3.org>

Seeing that I have come in a little late to the discussion, several items have already been mentioned.

Here are a few which I noticed:

> "A set of zero or more values from a predefined list (in the limiting case of the list only containing one value, this is equivalent to a boolean)."

This may be only a minor technicality, but how is it possible to have a checkbox control with no values.  Wouldn't that be defeating the purpose of checkbox control?  I think stating that "... a set of one or more values ..." would be more accurate, unless there is a way to dynamically add values to the checkbox like the itemset element in XForms.  The same can be said for the statement concerning the select multiple control.

> "A set of zero or more values from a predefined list, much like the checkbox type."

A statement of "... a set of one or more values from a predefined list ..." would be more accurate, unless there is a way to dynamically add values to the select multiple like the itemset element in XForms.  

> "An enumerated value, with the extra semantic that it must be the last value selected and initiates form submission."  is for the submit control. 


> "A submit button with a richer content model than an input  element button. (Can also be used for reset and button buttons.)"  is for the button control.

How is it possible for there to be two separate submit controls?  I didn't seems to see any explanation as to the difference between the two, when one would be used over the other.  

> From the example for repeat (3.6.1):
> "If the "Add Row" button is pressed, a new row is added. The first such row would have the index 1 and so the controls would be named "name_2" and "count_2" respectively. "

If the counting starts at 0 why does it skip to 2?  My understanding of what you were saying about adding repeat structures is something to the effect of: the process of adding a new repeat structure would find the index then add one, thereby skip a number every time a structure is added.

Also, with your new explanation at the introduction of the repeat section: 
    <td><input type="text" name="row0.product" value=""></td>
    <td><input type="text" name="row0.quantity" value="1"></td>

and in your explanation of Addition and Removal for repeat:
	"For example if the template is called "order", and the new repetition block's index has the value 2, and one of the attributes of one of the descendents of the new repetition block is "comment._order_._comment_", then the attribute's value is changed to "comment.2._comment_"."

and the example in 3.6.1: 

    "<tr repeat="repeated">
      <td><input type="text" name="name_0" value="John Smith"></td>
      <td><input type="text" name="count_0" value="2"></td>
      <td><input type="remove" value="Delete Row"></td>

the naming conventions all seem to be slightly different. Which is the correct one?

Susan Borgrink

FormFaces Developer
Received on Tuesday, 9 December 2003 11:51:19 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:36:10 UTC