How can I make an input field read only but still have it send data back to a form?

后端 未结 7 1527
情书的邮戳
情书的邮戳 2021-01-01 11:22

I have an input field:


7条回答
  •  旧时难觅i
    2021-01-01 12:13

    Adding a hidden field with the same name will sends the data when the form is submitted.

    
    
    

提交回复
热议问题