Can I set a condition based on editing a form?