Remove an item from form

  • Profile Image
    benhassenger
    Asked on April 14, 2017 at 04: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!

  • Profile Image
    Sven
    Answered on April 14, 2017 at 05: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.