Sorted
Thanks for the prompt reply Ray.
Yes I figured it out. The form now sends to the second page which has the UE setup. I have that set to trigger before load.
Below that code I have another code which sends slected fields on to the next page. That is an existing code I have which has some javascript to send without needing a submit action.
Not sure yet this is the best arrangement but it works anyway. The page still pops up for a moment but I have put 'Sending Email' at the top of the page. The UE emails have gone by then and a moment later the following page displays ready to proceed with the process.