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

  • xsalefter
    Asked on February 22, 2015 at 7: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.

  • Ashwin JotForm Support
    Replied on February 23, 2015 at 1: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!

  • Aytekin JotForm Founder
    Replied on February 23, 2015 at 4:38 AM

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