oceatoon / jquery.dynForm

generate Forms jquery pluggin, javascript , validation, bootstrap, json schema definition
1 stars 1 forks source link

Support attribute arrays #4

Open acorbi opened 9 years ago

acorbi commented 9 years ago

Some attributes, such as contact points or organizations a person belong to, might need to store multiple values. The syntax of the json form schemas should allow to define arrays and the front-end should be rendered accordingly, providing buttons to add/delete entries.

oceatoon commented 9 years ago

yep I totally agree , and it's fairly simple to setup as well do you have a fancy graphical front end for this ? I have one running , but maybe yours is better

acorbi commented 9 years ago

I cannot provide with any implementation yet. Can you add some instructions to the README.md file on how to use arrays? I will then be able to continue implementing the plp-editor here https://github.com/acorbi/plp-editor-dynForm

In exchange I will take care of https://github.com/oceatoon/jquery.dynForm/issues/3 today ;-)

oceatoon commented 9 years ago

I haven't implemented it yet I'll try to find a time today , if things go well

On Mon, Mar 30, 2015 at 11:21 AM, Alex Corbi notifications@github.com wrote:

I cannot provide with any implementation yet. Can you add some instructions to the README.md file on how to use arrays? I will then be able to continue implementing the plp-editor here https://github.com/acorbi/plp-editor-dynForm

— Reply to this email directly or view it on GitHub https://github.com/oceatoon/jquery.dynForm/issues/4#issuecomment-87577218 .

Tibor Katelbach – Senior Developer http://oceatoon.org ..·><((((º>·´¯`·.¸¸..><((((º>.¸¸..·.¸¸..><((((º>.¸¸.. La Riviere, La Reunion e-mail : oceatoon@gmail.com skype : oceatoon Fixe : +262+262343686 Mobile : +262-693918532

Save a tree...please don't print this e-mail unless you really need to.

acorbi commented 9 years ago

:+1:

oceatoon commented 9 years ago

checkout allTypes.html in the samples I added array and property type inputs for the moment values are gathered by using using getPairs and getList I haven't added it yet to the dataBinder