[FIX] view_form: backport of commit 180212b9996c049eacf06fd15b00087944fca869 (opw 609787)