Conditional Statements Not Working After Downloading Source Code

  • santotsframe
    Asked on July 28, 2014 at 2: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?

  • Mike_T Jotform Support
    Replied on July 28, 2014 at 3: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.

    Conditional Statements Not Working After Downloading Source Code Image 1 Screenshot 20

    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.

  • santotsframe
    Replied on July 28, 2014 at 3: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!

  • Mike_T Jotform Support
    Replied on July 28, 2014 at 3:46 PM

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