Closed bluec0re closed 3 years ago
Actually, we don't need this as leaving empty mandatory fields will bring up an indicator anyway. I've added but commented out a red astersik in CSS for the fields that are set to required with https://github.com/google/vulncode-db/commit/42f105ab45bc59d5b76203e7d5c346a12eff9539 though.
I'm still for having these as otherwise users will not know what is required and what not until they try to submit
Is your feature request related to a problem? Please describe. Forms currently do not indicate which fields are optional or required.
Describe the solution you'd like Mark required or optional fields visually,
Additional context WTForms adds a
required
css class to the fields which could be used for this.