How can I fix a problem with editing a form?