How to know if the form is being edited and then show a field?