legacy: fix form file attribute

* Addresses issue with missing legacy `file` attribute in form fields.
  (closes #1900)

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
base: fix missing default config value

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>