How can I make an entire HTML form “readonly”?

前端 未结 12 1454
无人及你
无人及你 2020-12-02 07:56

I have two pages with HTML forms. The first page has a submission form, and the second page has an acknowledgement form. The first form offers a choice of many controls, whi

12条回答
  •  旧时难觅i
    2020-12-02 08:24

    You add html invisible layer over the form. For instance

    and style:

    .coverContainer{
        width: 100%;
        height: 100%;
        z-index: 100;
        background: rgba(0,0,0,0);
        position: absolute;
    }
    

    Ofcourse user can hide this layer in web browser.

提交回复
热议问题