Is there a way to temporarily disable a field or widget for testing purposes without deleting?

  • Profile Image
    guineapigme
    Asked on March 04, 2015 at 11:43 AM

    I would like a way to temporarily disable a widget without having to delete 

     

    e.g., the forms tabs or anything which is complex to remove and then re-add because of all the custom items.

     

    The conditions menu does not operate on all types of things to fake this.

     

     

  • Profile Image
    BJoanna
    Answered on March 04, 2015 at 12:17 PM

    JotForm input fields have property function Hide Field. By turning on this option you can them. Unfortunately widgets do not have this option. But you can hide your widget temporarily for testing purpose by Injecting Custom CSS. Try to add this code to the element you want to hide:

    visibility: hidden;

    Please let us know if you need further assistance.

     

     

  • Profile Image
    ashwin_d
    Answered on March 04, 2015 at 12:20 PM

    Hello guineapigme,

    Unfortunately there is no way to disable any widget. Hide property is not available in all the widgets and I am unable to think of any possible workaround. One possible way is to find the id of the "form-line" and add custom css code to hide it. Please check the screenshot below on how to find the id of the list id of the form:

     

    To hide the "Forms Tab" widget, please inject the following custom css code in your form:

    ul#tabs-list {

    display: none;

    }

    The following guide should help you inject custom css code in form:  http://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes 

    Alternate way is to clone your existing form from URL, delete the widget and do your testing.

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!