Is it possible to lock fields that don't actually require input?

  • adschnelle
    Asked on February 20, 2019 at 6:18 PM

    Hello.

    I've used a form to act as a price calculator on my site: https://www.lockwoodmo.com/faqs

    The only field I actually need user input is the very first field - which is required.  The others are all set by conditional logic or by calculation.  Is there a way I can either lock the other fields, or change the formatting so that only the first field looks like an input (remove borders on other inputs)?

    Thanks.

    Amanda

  • jherwin
    Replied on February 20, 2019 at 8:52 PM

    To set the field as read-only, please refer to my screencast below.
    (Do this for all the fields you want to disable typing)
    1550713841readonly Screenshot 10

    For the border of the textbox, please inject this custom CSS code to remove the border and shadow of the textbox:

    input#input_4 {

        border: none;

        box-shadow: none;

    }

    input#input_11 {

        border: none;

        box-shadow: none;

    }

    input#input_3 {

        border: none;

        box-shadow: none;

    }

    input#input_16 {

        border: none;

        box-shadow: none;

    }

    input#input_17 {

        border: none;

        box-shadow: none;

    }

    input#input_18 {

        border: none;

        box-shadow: none;

    }

    Guide: How to Inject Custom CSS Codes

    Give it a try and let us know how it goes.

  • adschnelle
    Replied on February 20, 2019 at 11:38 PM

    Perfect!  Thanks so much for the quick reply.  Appreciate the help.