GithubHelp home page GithubHelp logo

Comments (1)

daffl avatar daffl commented on July 29, 2024

I always recommend using jQuery++ formParams (
http://jquerypp.com/#formparams) for that. I don't think it should be
shipped with this plugin though.

On Sat, Aug 16, 2014 at 8:29 AM, Toby Allen [email protected]
wrote:

I'd like to write a feature for jquery.dform which allows a second json
string or filename to be specifeid with the values for the form. While it
is obviously possible to simply pass the values in with the json I think it
is a good idea to keep the form definition and the data seperate.

I was hoping to do something like this

$("#demo-1-form").dform('myform.json', 'formvalues.json');

This would enable a form to be used again and again, eg, edit values and
then when you go back to the form the values are filled in. I have looked
around the sourcecode and my javascript is ok but obviously not good enough.

Could you point me in the right direction to find the places I would need
to put my code. Ideally the thing to do with be to add the value elements
to the form schema json before it is ever turned into input elements.

If you point me in the right direction I will implement and submit as a
pull request.


Reply to this email directly or view it on GitHub
#49.

from jquery.dform.

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.