WebSubmit: fix JS check for mandatory fields
WebSubmit: fix JS check for mandatory fields

* Fixes JavaScript check that is run upon final submission of the form,
  when checking whether all mandatory elements on all pages have been
  filled in.

tiborsimko/invenio,inveniosoftware/invenio,tiborsimko/invenio,inveniosoftware/invenio