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 issue with easyfancy box

  1. Hi

    http://www.1-800-translate.com/company/careers/

    i use easy fancy box to display form, the page above has the same form but the Position field dropdown box value will be prefilled base on the clicked link

    The issue is that the conditional logic in the bottom of form, it has 2 issues

    1. File Upload is 1, show one file upload field, 2 show 2..etc doesn't work on popup, it only work on page.

    2. And on page, 2 first popup links work only, from the third popup link, form not appear on the popup

    Hope you can help

    Thanks

    Posted 11 years ago on Wednesday January 9, 2013 | Permalink
  2. When I click on any of the "click here" links, I get an empty fancybox: just a tiny white square with the X to close it. I was using Firefox 18 on Windows 7. I don't see any obvious JavaScript errors. Can you let me know if I was clicking on the wrong items or if there is something else I need to do? Thank you.

    Posted 11 years ago on Wednesday January 9, 2013 | Permalink
  3. Yes that's correct, please click "get in touch" link first, it's the first fancy box link display form, other "click here" links are starting from second, it's strange that i have to click get in touch link first then the first click here link (which is second fancybox form) will work also, starting from the second click here link (which is the third fancy box form) nothing appear

    Posted 11 years ago on Thursday January 10, 2013 | Permalink
  4. I took a look at the page. I see multiple copies of jQuery being loaded. The 1.7.2 version is old and not correct for WordPress 3.5. Please remove the reference to that version and make sure all the other jQuery functionality on your page continues to work. Then test to see if you form with conditional logic works.

    Posted 11 years ago on Thursday January 10, 2013 | Permalink
  5. Hi

    Thanks for reply, i have removed 1.7.2 but the problem still happen, hope you can help

    thanks

    Posted 11 years ago on Thursday January 10, 2013 | Permalink
  6. I see a couple of JavaScript errors now. They are both "$ is not defined".

    Line 21:

    [html]
    <script>
    $(function() {
    var icons = {
    header: "ui-icon-circle-arrow-e",
    headerSelected: "ui-icon-circle-arrow-s"
    };
    $( "#accordion" ).accordion({
    'icons': icons,
    'collapsible': true,
    'active': false
    });
    $( "#accordion2" ).accordion({
    'icons': icons,
    'collapsible': true,
    'active': false
    });
    $( "#toggle" ).button().toggle(function() {
    $( "#accordion" ).accordion( "option", "icons", false );
    },function() {
    $( "#accordion" ).accordion( "option", "icons", icons );
    });
    });
    </script>

    Line 81:

    [html]
    $(function(){ // wait for document to load
    $('input.gstar').rating({
    required: 'hide',
    callback: function(value, link){
    //alert(value);
    addRating('google',value);
    }
    });

    Any sort of JavaScript error can cause the conditional logic not to work.

    Posted 11 years ago on Friday January 11, 2013 | Permalink
  7. Hi

    I disabled them and still has issue also, hope you can help me to check

    Posted 11 years ago on Friday January 11, 2013 | Permalink
  8. The fancybox does not appear to be working any more? When I click on the first 'get in touch' link, nothing happens.

    Posted 11 years ago on Friday January 11, 2013 | Permalink
  9. sorry i activated again, please confirm

    Posted 11 years ago on Friday January 11, 2013 | Permalink
  10. Have you already done the basics of checking for theme and plugin conflicts? I know you will need Fancybox, but how about deactivating all the other plugins, except for Gravity Forms, or trying the Twenty Ten theme or Twenty Eleven theme? You can use these instructions http://rkt.gs/testing

    Posted 11 years ago on Saturday January 12, 2013 | Permalink
  11. Hi

    enable default theme still has issue, i will check plugin conflicts and let you know shortly now

    Posted 11 years ago on Monday January 14, 2013 | Permalink
  12. Hi

    tried disable all plugins but still doesn't work

    Posted 11 years ago on Monday January 14, 2013 | Permalink
  13. the issue happens only if the form in fancybox has conditional logic field

    Posted 11 years ago on Monday January 14, 2013 | Permalink
  14. If it happens only when there is conditional logic in the form, it's because of a JavaScript error, or missing jQuery, or wrong jQuery, or multiple jQuery, or possibly jQuery being added in the footer, rather than the header, of the page. How did you get the form in the modal?

    Posted 11 years ago on Tuesday January 15, 2013 | Permalink
  15. Hi

    I installed easy fancy box plugin and use this code to display forms in popup

    http://pastie.org/5686924

    Posted 11 years ago on Tuesday January 15, 2013 | Permalink
  16. When I load this page now:

    http://www.1-800-translate.com/company/careers/

    I have this JavaScript error:

    Timestamp: 1/15/2013 11:52:25 AM
    Error: ReferenceError: jQuery is not defined
    Source File: http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js
    Line: 9

    And clicking the link "get in touch" does not open the Fancybox.

    Posted 11 years ago on Tuesday January 15, 2013 | Permalink