JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
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.
Minifying the CSS file and doing the same with the HTML of the formAsked by CTec on November 11, 2016 at 08:30 AM
I know this is a bit of a late question in the thread, but do you mean copy the CSS in the Form Designer, minify it, and then paste it back?
Is it possible to do something similar with the HTML?
I think Jonathan meant to suggest doing it on the source codes. Importing it back in the form designer won't work because the original stylesheet is still present in the form. It's also possible in the HTML, of course, but still, you have to do it by using the source codes embed.
You can generate a minified version of the files on these website:
I'm not quite sure what you mean. Are you say that if I want to run minified code I have to host the Jotform HTML and CSS on my sites web server?
Yes, correct. For the HTML of the form, there is no way you can import it back to Jotform. For the CSS, you can add the minified version in the designer, but the original stylesheet is still present in the form so it's a kind of useless solution. The best way would be to get the form source codes, minify it and host it on your own server.
If you want to embed the minified HTML, you can get its absolute URL and embed it as an iframe in the page. You can generate an iframe on this page: http://7thspace.com/webmaster_tools/iframe_generator.html.