PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Form timeout/browser lockup after user selects a specific option. How to debug?

  1. ecleese
    Member

    I'm creating a rather involved 3-page form allowing a user to create their own custom bed. Page 2 of the form involves the user selecting side cabinets. After making a radiobox selection (yes/no) for the "Left Side Cabinet", Wordpress or Gravity Forms is locking up the browser. In Chrome, it never recovers. If using Firefox, it takes 30-60 seconds and then it allows the user to move on. If you then attempt to change that radiobox field again it will again lock up the browser.

    I have tried disabling my theme and all plugins. I have also tested the form via the form's preview option. None of these changes made a difference.

    This is a rather large form with quite a number of html elements and images. I'm wondering if I'm pushing the boundaries of this plugin or is it possible there is a bug somewhere in my form that could be causing this lockup? How can I debug this?

    Here is the temporary URL for the form:
    http://69.195.124.54/~lancasx3/shop/murphybeds/

    I can provide the xml export of the form too if needed.

    Posted 6 years ago on Wednesday May 15, 2013 | Permalink
  2. ecleese
    Member

    Just a bump. Any ideas on this?

    Posted 6 years ago on Thursday May 23, 2013 | Permalink
  3. Just curious, what if you duplicate your form and remove the page break fields - see if the form submission takes a while or is more responsive.

    Posted 6 years ago on Thursday May 23, 2013 | Permalink
  4. David Peralty
    Administrator

    What all happens when a user makes that selection? Is there calculations, conditional logic, what's at play? Make sure everything in them is perfect. You might need to bump up available memory for PHP and WordPress... though it might just be that you've hit a JavaScript limitation.

    I'm not getting any errors, but can you temporarily make WordPress as clean as possible so we can test without those other factors in play? I am hoping I can see a JavaScript error or something so I can better troubleshoot what's happening.

    Lastly, are you using the latest versions of Gravity Forms and WordPress?

    Posted 6 years ago on Thursday May 23, 2013 | Permalink
  5. ecleese
    Member

    Wordpress: v3.5.1
    Gravity Forms: v1.7.4

    It's a variety of conditional logic that is based on selections made from page 1 of the form. When a user selects a certain type of wood species and later a size, the appropriate types of side cabinets will be available to choose with pricing if the user selects yes to Left side cabinet.

    I guess by clean you mean default theme and deactivate all other plugins. I will do so now for you.

    Here is my current active form if it helps:
    http://pastebin.com/FWVFs6ZJ

    Posted 6 years ago on Thursday May 23, 2013 | Permalink
  6. ecleese
    Member

    I just duplicated the form, removed the page breaks and then previewed the form.

    Left Side Cabinet Yes/No now responds in about 10 seconds after selecting an option. The response time is better this way but is nowhere near as fast as Right Side Cabinet Yes/No which responds in 1 second or less.

    Posted 6 years ago on Thursday May 23, 2013 | Permalink
  7. ecleese
    Member

    I went so far as to create a VM instance of Ubuntu with LAMP and Wordpress and set the PHP max memory to 128MB. I then used the default theme of Wordpress and only installed the Gravity Forms plugin for testing. I imported the form I shared above and then previewed the form and ended up experiencing the same result.

    Is there anyway you can test the form I shared above and diagnose any potential Javascript issues?

    Posted 6 years ago on Monday June 3, 2013 | Permalink
  8. ecleese
    Member

    Any chance my form can be tested or do I need to work with Priority Support on this issue?

    Posted 6 years ago on Tuesday July 9, 2013 | Permalink
  9. Richard Vav
    Administrator

    Handled via new support form.

    Posted 6 years ago on Thursday July 25, 2013 | Permalink

This topic has been resolved and has been closed to new replies.