Conditional Statements Not Working After Downloading Source Code

  • Profile Image
    santotsframe
    Asked on July 28, 2014 at 02:02 PM

    After downloading my form's source code by using Setup & Embed>Embed Form>Source>Download a compressed version with separate Javascript and CSS, all the conditional statements and required fields aren't being checked. Is there anything extra that has to be done to get these conditions working, or will I have to write my own Javascript to replace them?

  • Profile Image
    Mike_T
    Answered on July 28, 2014 at 03:13 PM

    Thank you for contacting us.

    I was not able to reproduce the issue on a cloned version of your form. The form validations and conditional statements worked fine with the form source code.

    In case you use other scripts on the page with your form, there might be a conflict between JS libraries. See jQuery.noConflict(), it might help in solving conflicts between form (Prototype based) and other code (jQuery based). 

    Please feel free to contact us if you need any further assistance. We will be happy to help.

  • Profile Image
    santotsframe
    Answered on July 28, 2014 at 03:38 PM

    Hello, and thank you for the fast reply!

     

    I figured out the problem, it turned out to be a hosting problem on my end, never got the external Javascript and CSS folders.

     

    Thanks for your help regardless!

  • Profile Image
    Mike_T
    Answered on July 28, 2014 at 03:46 PM

    You are quite welcome! Thank you for using our service.