When I add a record from an Add New Record form, I also want to perform some other operations at the same time. I can perform these operations from a javascript function. My problem is that it looks like I need to call this function from the onclick() event handler of the submit button on the Add New Record form. Since this form is generated on the fly, can I reference this event handler and how do I do it.