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.

Conditional Logic not working correctly

  1. Christinarule
    Member

    Hi All,
    If you go http://poconocommunitytheater.org/test/ and check one of the boxes i have a condition set up to tell the form to only load one field if one box is checked and 2 fields if two boxes are checked and so on, however it seems to be loading all the boxes first and then only loaded the one. Any ideas as to why?

    Posted 12 years ago on Saturday September 15, 2012 | Permalink
  2. It will be hard for us to tell why this happens without seeing how you have the conditional logic set up. Please export the form as XML (Forms menu, then Import / Export, then the top center item, "Export Forms") and email it to chris@rocketgenius.com and I will take a look at the logic for you. There is likely a configuration error, or the form was edited after you set up the conditional logic, so the conditional logic rules are now invalid.

    Posted 12 years ago on Saturday September 15, 2012 | Permalink
  3. Christinarule
    Member

    Hey Chris, Will do! Thank you for all your help. I just encountered another issue. I realized that the site was using an older version of GF so I updated it with the latest version, however when I went to click activate I just got a white screen and my site stopped working. I connected via FTP and deleted the plugin from the directory and the site was back up and running again. I tried this 3 more times and nothing worked.... any ideas as to why this would be happening?

    Posted 12 years ago on Saturday September 15, 2012 | Permalink
  4. Chances are you are out of memory. You will need to see the server logs to be sure if that is the error which is causing the white screen, but it's likely. It's either that or a plugin or theme conflict.

    You can check for theme and plugin conflicts by following these instructions: http://rkt.gs/testing

    You can learn about increasing PHP RAM here: http://www.nerdgrind.com/increase-wordpress-and-php-memory-limit/

    Posted 12 years ago on Saturday September 15, 2012 | Permalink
  5. Christinarule
    Member

    Hey Chris, Thanks for the help. I activated the default wp theme and tried to install the lastest version of GF and got the same issue. This time I did it in Chrome and I got the attached error:
    http://poconocommunitytheater.org/wp-content/uploads/2012/09/Screen-Shot-2012-09-15-at-4.14.23-PM.png

    it's weird because it works fine with Gravity-Forms-v1.4.3.1 but I need to be able to use paypal on the form and I don't think I'm able to do that with that version.

    Posted 12 years ago on Saturday September 15, 2012 | Permalink
  6. Your error screen just shows you are receiving a 500 Internal Server error. You need to see the logs or display errors to the screen to see what the error is. It can be a theme or plugin conflict, or it can be due to running out of RAM. Either of those errors will show up in the log. The white screen and error message from the browser is just telling you there was a problem. We need to know what the problem is.

    It's not really weird that it worked with an older version. The plugin has grown larger since that ancient version, and it has more functionality now. It could be taxing the resources on your server, or there can be a plugin conflict which needs to be resolved.

    Please be sure you are running the latest WordPress as well. I can't tell from the source of the page which version you are running (maybe it's already 3.4.2?)

    Posted 12 years ago on Saturday September 15, 2012 | Permalink
  7. Christinarule
    Member

    okay thanks. I'm Trying to get the server information from their old web guy. For the time being I'm going to try and install it on my server and see if I can get it working on there. Thanks so much for helping me out. Always am amazed at GF customer service.

    and yes I am running the latest version of WP

    Posted 12 years ago on Saturday September 15, 2012 | Permalink
  8. Christinarule
    Member

    Hey so I increased the memory and it seem to let me install the plugin! But now my form isn't showing up! GRRR

    Posted 12 years ago on Saturday September 15, 2012 | Permalink
  9. The form is not showing up because you have this JavaScript error now:

    Timestamp: 9/16/2012 9:10:26 AM
    Error: TypeError: $(".youtube").colorbox is not a function
    Source File: http://poconocommunitytheater.org/test/
    Line: 231

    Find and fix that problem and we will take a look again. JavaScript errors will prevent Gravity Forms from showing the form, because Gravity Forms utilizes jQuery to display the form. Conflicts will keep the form from showing.

    Posted 12 years ago on Sunday September 16, 2012 | Permalink
  10. Christinarule
    Member

    Hi Chris. It seems that the form is now working. I'm not sure why it's working now but I guess its a good thing.... just wish I knew why

    Posted 12 years ago on Sunday September 16, 2012 | Permalink
  11. It's never good when things fix themselves. Is it possible the plugin or code which was outputting the $(".youtube").colorbox code is no longer active, or is not present on the page you're currently working with? Sounds like it could be a colorbox script OR a YouTube script. Maybe a colorbox script to put a YouTube video in a colorbox modal?

    Posted 12 years ago on Sunday September 16, 2012 | Permalink
  12. Christinarule
    Member

    That is probably what it is... I must have messed something up because I'm assuming when you click on this link "watch trailer" http://pct.wpengine.com/movie/hope-springs/ it should popup in the Color box. That is no longer happening.

    It's not using a plugin of any kind all the plugins that were on the site when I started are still there and active. The way that the site is setup on the backend is there is a "Movie" tab(similar to posts) on the left hand menu ( see screenshot:
    http://pct.wpengine.com/wp-content/uploads/2012/07/Screen-Shot-2012-09-16-at-4.13.46-PM.png)

    and the user can go in and add a movie and set all the information there. I don't know what exactly I disabled but I can't imagine touching anything that would mess up the trailer from popping up .

    Posted 12 years ago on Sunday September 16, 2012 | Permalink
  13. Sounds like this problem is unrelated to Gravity Forms. I'm not sure why your colorbox stopped working.

    Posted 12 years ago on Monday September 17, 2012 | Permalink