Remove an item from form

  • benhassenger
    Asked on April 14, 2017 at 4:51 AM

    How do you remove items from a form without deleting the data? If you look at this form: https://form.jotform.com/70267020852147 I've effectively negated the top two items by marking them with a red X and setting the quantity range to zero, but would like to actually take them off the form while keeping the accumulated data intact. Thank you for your help!

  • Sven
    Replied on April 14, 2017 at 5:39 AM

    You can hide these products using CSS, otherwise you would have to reconfigure the payment widget and add the products again. 

    To hide the fields using CSS, please inject the following custom CSS in your form builder:

    #input_23_1021, #input_23_quantity_1021_0, #input_23_1023, #input_23_quantity_1023_0 {

        display : none !important;

    }

     

    #input_23_1021 + label{

        display : none;

    }

     

    #input_23_1023 + label {

        display : none;

    }

     

    After you inject this code, remove the product images for these two images, and they will disappear from your form, and your previous data will not be effected. If you want to show them again, simply remove the CSS code and they will appear again. 

     

    Here's how to inject custom CSS into your form:

    How to Inject Custom CSS Codes

     

    Thank you.