[prev in list] [next in list] [prev in thread] [next in thread] 

List:       whatwg
Subject:    Re: [whatwg] Add more types of DOM as part of Form
From:       Renoir Boulanger <renoirb () gmail ! com>
Date:       2013-04-09 1:41:56
Message-ID: 5F73FA4C-43C8-4E9E-A19A-31BEE9B054C8 () gmail ! com
[Download RAW message or body]

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.

Regards.

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.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic