edit question: improvements: invalid forms

If a form is invalid, we should also perform the situation-actions
(error messages are not displayed yet)
determin activeTab in form