Re-add validation of required field in course form

Relate to issue #1563