Is it possible to pass an unsubmitted form to a function for processing?
I am in the process of streamlining code in an app I'm enhancing by creating functions for large sections with repeated code. I wondered if it is possible to send an un-submitted form to a function for doing validation, setting field values and using actions.