Giter VIP home page Giter VIP logo

Comments (6)

zuramai avatar zuramai commented on July 17, 2024 1

I guess we'll make two. We'll make the jQuery and the non-jQuery one.
If you are going to make a pull request, it will be appreciated if you make the implementation under "Form Validation" page under the "Forms" menu. And I think Parsley.js looks good for this.

from mazer.

zuramai avatar zuramai commented on July 17, 2024

Hi @walawe, do you have any recommendation on what form validation framework would it be?

from mazer.

walawe avatar walawe commented on July 17, 2024

jQuery Validation seems to be popular - https://jqueryvalidation.org
Another one could be Parsley - https://parsleyjs.org

I'm happy to contribute once we agree on which framework this template should adopt.

from mazer.

zuramai avatar zuramai commented on July 17, 2024

We won't recommend a jQuery-based library as the main library for this theme. I think it's better to use something like validator.js and the jQuery-based libraries will be the optional way (just like the DataTable in this template).

from mazer.

walawe avatar walawe commented on July 17, 2024

validator.js looks good, however it only covers string validations. other things need to be considered:

  • integrating validation logic into form fields (e.g. specifying validation logic as attributes)
  • ability to write custom validation function (e.g. file upload field, checksum validation, etc)

from mazer.

walawe avatar walawe commented on July 17, 2024

@zuramai #102 is ready for your review.

from mazer.

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.