framework icon indicating copy to clipboard operation
framework copied to clipboard

RFE: required HTML5 attribute support on Fields

Open robmv opened this issue 12 years ago • 1 comments

Use BaseField.required_? to add the "required" HTML 5 attribute when serializing to HTML 5

Group discussion thread: https://groups.google.com/forum/?fromgroups#!topic/liftweb/Vtw0Eib8Avs

robmv avatar Apr 17 '12 19:04 robmv

This should be pretty easy, but will require manually going through the fields that extend BaseField to add the required attribute as appropriate in their toForm implementations.

Shadowfiend avatar Dec 12 '16 01:12 Shadowfiend