powmedia / backbone-forms

Form framework for BackboneJS with nested forms, editable lists and validation
MIT License
2.17k stars 413 forks source link

Standardization of `require' #237

Open corrideat opened 11 years ago

corrideat commented 11 years ago

I have two suggestions: 1) Since HTML5 incorporates a 'required' attribute, it might be a good idea to move the `required' validation option to be activated automatically whenever a global parameter of the same name is created. 2) Related to this, it could be useful to have a variable to use in templates whenever a field is required. This could help in adding an asterisk or in making these labels bold.

powmedia commented 11 years ago

This is something I've been thinking about too, particularly point 2 so will try to include this in the next version

philfreo commented 11 years ago

See also #165