New forms library

Re: New forms library

by Tim Hunt -
Number of replies: 0
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Who did join in the conversation? How much discussion was there?

Let's at least copy-and-paste the summary of the Etherpad document here:

Summation of this document

    
  • Backwards compatibility is an important thing and we shouldn't try to replace mforms. Most people agree that just a simple update to mforms to make it php7 compliant is the way to proceed.
  • Mforms are used extensively throughout Moodle.
  • There are a few places around moodle that do not use mforms and it would be nice to have all areas covered by a library of some sort.
  • Previous discussion about forms from the hackfest should be considered.
  • HTML 5 validation could be used where appropriate.
  • Some talk of using existing frameworks.
  • Symphony
  • Drupal
  • JavaScript form validation libraries.
  • Separation of display and validation
  • People aren't happy with using devpad as a medium to discuss projects such as this one.
  • Potential to improve form design.
  • A few ideas / code on how we could implement a JavaScript form library.