I know I can increase the time with my PHP max execution settings, however...
It seems there's something wrong that's suddenly causing my form to take a long time to load. Most of my forms load in a couple seconds (all less than 10), but this one form is taking forever and is crashing at 60 seconds (exceeds maximum load time).
It was loading fine for a while, it seems to have just suddenly started happening.
I've attached the form.
how many elements you have in your form ? do you have any loops or repeaters ? making a small mistake like an infinite loop or a curl connection can of course break the form
Did you try to build a similar form on v8 ? v8 is generally faster but if your v7 form takes so long then its most propably a form setup issue
No loops or repeaters. Somewhere between 80 to 90 individual elements i believe (8 containers with about 10 elements in each).
The weird part is it used to load fine and then suddenly stopped. I don't believe i made any changes in between when it was working and when it was timing out.
Oh and it works fine on the front end. It seems to only be an issue loading it into the form editor
the backend takes longer in general, do you have other forms on the same website with almost the same number of elements which take much less time to load in editor ?
My closest one has just over half as many elements (50 something). Loads in 6 seconds.
I did see where the error is occurring with the timeout:
I was looking at V8, but I didn't see the ability to change the value on a text field based on an event?
Basically what I'm doing in V7 is there's a textbox. If you click the + button, it will update the value to your name. If you click the - button, it will remove your name. It will also block you from using both buttons if another user already filled in the box.
even though the timeout occurs at that line, the time may be consumed somewhere else, do you have the Safe Mode enabled in the v7 settings page ? if its enabled then something should be not ok with this form, I worked on larger forms without issues, just few seconds to load
in v8 you may set a field value using a function call, this feature is coming in the next update