Suggest KB article required fields are marked as required

RESOLVED WORKSFORME

Status

support.mozilla.org
Knowledge Base Software
P5
normal
RESOLVED WORKSFORME
7 years ago
5 years ago

People

(Reporter: rbillings, Unassigned)

Tracking

unspecified
Future
x86
Mac OS X

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 years ago
It would be nice if when creating a new article, or translating one, that required fields are marked by an asterisk or some visual cue that this field is necessary.
I wish Django forms just did this for you and added a 'required' class to required fields, but sadly they don't.

Seems like setting the widget attrs attribute is the best option.

http://docs.djangoproject.com/en/dev/ref/forms/widgets/#django.forms.Widget.attrs

Nice-to-have for 2.3, but not end of the world if we miss this. One has to touch a lot of code.
Priority: -- → P5
Target Milestone: 2.3 → Future

Comment 2

5 years ago
Warnings exist and prevent from creating an article without a:
* title
* slug
* search summary
* content
* product
* topic

Note that you can set a topic not belonging to the selected product(s).
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.