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

    Form designer: How to reset / restore default css code and discard all previous changes.

    Asked by xsalefter on February 22, 2015 at 07:40 PM

    Hi,

     

    I know that there's something questions like this:

    http://www.jotform.com/answers/135813-Can-I-reset-the-Form-Style-back-to-Default

    http://www.jotform.com/answers/519536-How-i-can-reset-this-form-to-the-default-style-without-theme

    but those are not what my case. Let say I:

    - Create Form.

    - Add a lot of input

    - Apply style (use form builder, not direct css)

    - Add validations 

    - Apply style again

    - Add more input

    - Add conditions

    - Add more input

    - Add condition

    - Apply more style

    - etc etc etc, and then my style is broken.

     

    My question is, Could I reset all styling process only without losing any of validations, conditions, and perhaps integration part? I just thinking:

    - revision history menu (kind of version control in traditional programming mode) would destroy part of validations/conditions/integration depends on which revision that I would choose.

    - create completely new form. Well let's supposed that I create a lot of form, this would be a disaster.

     

    I know a little bit about HTML, CSS, and javascript, and I don't use jotform directly, I just create and download the form. I just thinking a solution of:

    - Keep my old form.

    - create new blank form.

    - Copy-Paste all CSS code from new blank form to my old form. 

    Is this possible? If so, Is there any side effect because of this?

     

    Thanks.

  • Profile Image
    JotForm Support

    Answered by ashwin_d on February 23, 2015 at 01:22 AM

    Hello xsalefter,

    Our "Revision History" feature will not work in your case because it will revert back your form to an earlier version and discard all the changes you have made to your form including the form fields, condition and style as well.

    The solution you have mentioned above will work partially and will not be an ideal solution for you. If you copy an paste the css codes from other form (new form), it will reflect the changes in your form but if you load the form designer again(not editor) to edit css/style, it will discard all the injected css code.

    You seems to be looking for a version management or a "Reset" button to restore default style in the "Form Designer". Let me send a feature request to our back end team. We will get back to you as soon as we have any update from them.

    Thank you!

  • Profile Image
    JotForm Founder

    Answered by aytekin on February 23, 2015 at 04:38 AM

    You should be able to reset styling of your form by simply change the theme to the "Default Theme".