W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2013

Re: [whatwg] Add more types of DOM as part of Form

From: Renoir Boulanger <renoirb@gmail.com>
Date: Mon, 8 Apr 2013 21:41:56 -0400
Message-Id: <5F73FA4C-43C8-4E9E-A19A-31BEE9B054C8@gmail.com>
To: whatwg@lists.whatwg.org
Hello jingwei lv,

I am not sure, but, here is my try about your suggestion.

As I understand, in your use-case, you may want to use the <datalist /> element: http://html5doctor.com/html5-forms-introduction-and-new-attributes/#list

After that, I wonder what more you may want in the feature you are describing.


Renoir Boulanger
Frontend & software developer.
Montreal, Canada, QC.

On 2013-04-08, at 8:44 PM, jingwei lv <phoenixlv0108@gmail.com> wrote:

> Recently I am working with some web frameworks with mongodb(non relational
> database). There is one type of field called dict, similar with BSON, or
> JSON. In general, when defining a table in db in modern frameworks, it also
> can be generated a form in html, which is intuitive and convenient. Well,
> but those types such as list, dict in db are not supported in the
> generation of a form in those frameworks. For example, if you have a field
> typed list, you need a html DOM something like a list of <input
> type="text"/>, and the length can be changed dynamically. Of course, you
> can do define those things by hand. But since the non relational db will be
> used more, also in Semantic web. It will be much simple for web designer or
> programmer. The same for dictionary type.
Received on Tuesday, 9 April 2013 01:42:26 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:57 UTC