Hi,
I resolved the issue deleting On Click functions in the On Load Event and that fixed the issue. I guess they stayed resident after the view was deleted.
I'm going crazy trying to resolve performance issues on initial load. My form has 6 views and it takes 30 - 45 seconds to load. After load, switching views is fine. So I started deleted views and testing performance. Hence my issue that I posted below. Now that the code issue is resolved, I broke up my form into 3 separate template files and each still takes over 30 seconds to load.
I have deadlines to meet and must get the form to load in 5 seconds or less. I'm pulling data from 4 data sources on a sharepoint site but they are rather small lists and I changed the field settings and tested in form preview with no improvement.
Are there some code changes that I can make in the on load event that can speed up loading performance?