Display invalid input in editable input fields instead of adding it to the
end of the error message. This should improve user experience in case of
typos etc. where they now can simply edit there previously entered value.
Use a single variable for form data and form errors, instead of using two.
Makes the code a bit cleaner.
Changes are: