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 Error (custom business card form)

  1. Anonymous
    Unregistered

    Great f***n' plug-in! (can't wait to use the image block)
    The new beta version is pro I hope this feedback helps someone else!

    • When I activate "default" wordpress theme the form works perfectly (in preview mode)

    » Please visit my webpage and help me understand what I'm doing wrong. I've read up on the forums earlier this month (and gave up) and now I'm back for another shot...RESULTS!

    » Download Exported Form File
    Perhaps I can get some pointers - you'll notice I duplicated the form too.

    • 1st one is W/O conditional logic
    • 2nd one is WITH conditional logic for checkbox "upload file" (broken form)

    +Maggew

    Posted 13 years ago on Tuesday July 20, 2010 | Permalink
  2. Your export file only contained one form, and that form had no conditional logic present.

    You also mention the checkbox has an upload file field that appears if you check a box, but I don't see a file upload field on the form you exported.

    Posted 13 years ago on Tuesday July 20, 2010 | Permalink
  3. Anonymous
    Unregistered

    » Corrected Form (download link)

    Sorry about that friend. I understand, I made a mistake on my part with the upload.

    I inserted both forms (almost identical) into the webpage. The 1st example works and the 2nd example bonks out b/c I enabled the conditional logic when you check "do you have a file to upload"

    • You'll better diagnose if you visit website - the 2nd form code is there but doesn't appear

    +Maggew

    p.s. I would've edited my original post but couldn't - YIKES!

    Posted 13 years ago on Tuesday July 20, 2010 | Permalink
  4. Anonymous
    Unregistered

    bump

    Posted 13 years ago on Sunday July 25, 2010 | Permalink
  5. Your form is working fine on our end when we import it. The checkbox shows/hides the upload field. So there is nothing wrong with the form or Gravity Forms.

    The issue is your theme has numerous javascript errors on that page unrelated to Gravity Forms. The javascript errors cause javascript to then quit running so the Gravity Forms conditional logic javascript does not execute.

    If you use FireFox and install FireBug and browse that page you can see the errors.

    missing } after property list
    [Break on this error] $('ul.sf-menu').superfish({delay:0;}); \n
    aspire.js (line 5)
    
    syntax error
    [Break on this error] jQuery('#gform_wrapper_2').show();</p>\n
    ultima...s-cards (line 312)
    
    Cufon is not defined
    [Break on this error] <script type="text/javascript"> Cufon.now(); </script>
    ultima...s-cards (line 378)
    
    $("#slider").nivoSlider is not a function
    [Break on this error] captionOpacity: 0.8 //Universal caption opacity

    Resolve these javascript errors and that should resolve the problem.

    Posted 13 years ago on Sunday July 25, 2010 | Permalink