What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Conditional Statements Not Working After Downloading Source Code

    Asked by santotsframe 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?

    Page URL:
    http://www.jotform.ca/form/41746435369261

    source form source js conflict
  • Profile Image
    JotForm Support

    Answered by Mike_T 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

    Answered by santotsframe 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
    JotForm Support

    Answered by Mike_T on July 28, 2014 at 03:46 PM

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