(feat) Adds form validation for edits