Can I apply logic to fields on a form?