GithubHelp home page GithubHelp logo

Predefined tabs about jsonform HOT 5 CLOSED

dfliess avatar dfliess commented on May 14, 2024
Predefined tabs

from jsonform.

Comments (5)

tidoust avatar tidoust commented on May 14, 2024

I'm not sure I understand what you're trying to achieve here. What would be the expected behavior if the user adds an item to the tabarray? Wouldn't some derivative of fieldset that uses tabs to group fields better fit your use case?

from jsonform.

dfliess avatar dfliess commented on May 14, 2024

Sorry if I was not clear, but yes something like the fieldset that uses tabs it's what I'm looking, I need to make a big and long form something like a wizard with steps.

from jsonform.

dfliess avatar dfliess commented on May 14, 2024

I found another project https://github.com/gilluminate/Bootstrap-Wizard that would be great to be included here as a control type...what do you think ? @tidoust

from jsonform.

tidoust avatar tidoust commented on May 14, 2024

So, that's not a bad idea but I feel that exceeds the scope of what JSON Form tries to provide, at least for now.

JSON Form is really about providing some library to integrate forms within an application and bind them to an underlying data model, not as a full-fledged framework that would let one develop an application from A to Z. I feel integrating too many control types would turn JSON Form into something closer to an application framework. That may actually be a good idea. Your "multi-step form" use case is one we often have to deal with as well, and having to use multiple forms while handling routing from a higher level in the application is not entirely satisfactory.

You're obviously free to give it a try on your own. Note Bootstrap-Wizard is licensed under GPL v3, whereas JSON Form code is licensed under an MIT license. I would prefer to stick to an MIT license (or equivalent) throughout the code and its dependencies.

jQuery Interdependencies might be another library to look at to implement wizard-like functionalities that could go beyond mere "step-by-step" using conditional logic:
http://miohtama.github.com/jquery-interdependencies/docs/

from jsonform.

dfliess avatar dfliess commented on May 14, 2024

Thanks @tidoust for your prompt reply. I understand that maybe it's under the scope of the project, also I know that I can try to use this control any way by extending jsonform for this specific app I have now in they way you specify at the help.
Also I didn't noticed that little detail on project license.
Good recomendation on jQuery interdependencies, didn't know it, I'll investigate it.

from jsonform.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.