Which code in the source code is necessary to keep the form working?

  • MorskieftOntwerpers
    Asked on March 6, 2018 at 3:49 AM

    I have download the source code from a form so i can style and integrate it into a client's website. Which code is neccesary to keep the form working, i see there are alot of css and js added in the downloaded code. I like to keep it as clean as possible.

  • Kiran Support Team Lead
    Replied on March 6, 2018 at 4:57 AM

    Please be noted that the linked CSS and Javascript files are necessary in order to have the form work correctly. It is also necessary not to change the classes and element IDs in the HTML code of the form. If you need to add any CSS code to style the form. you may consider using the same IDs/classes on the form.

    Thanks!

  • MorskieftOntwerpers
    Replied on March 6, 2018 at 5:00 AM

    If i can't change these things what's the best way to use jotform with bootstrap?

  • Adrian
    Replied on March 6, 2018 at 6:27 AM

    You can get rid of the downloaded CSS and JavaScript code.
    The CSS and JavaScript are by default linked to an external source (CDN).

    You can remove them as well but you would lose the form styling and other functionality like validation.

    If you want to customize the styling of the form you can use the class names that the form elements already have or you can add your own class names and elements.

    You need to make sure that you do not change the name property in the elements.

  • MorskieftOntwerpers
    Replied on March 6, 2018 at 6:37 AM

    Thnx, just the answer i needed!!