{"id":1138,"date":"2012-02-11T04:45:34","date_gmt":"2012-02-11T04:45:34","guid":{"rendered":"http:\/\/truelogic.org\/wordpress\/?p=1138"},"modified":"2012-02-11T04:45:34","modified_gmt":"2012-02-11T04:45:34","slug":"how-to-make-a-form-read-only","status":"publish","type":"post","link":"https:\/\/truelogic.org\/wordpress\/2012\/02\/11\/how-to-make-a-form-read-only\/","title":{"rendered":"How to make a form read-only"},"content":{"rendered":"<p>A client-side javascript solution to making an entire form non-editable. This approach can be used to make any page read-only.<\/p>\n<p>The explanation<br \/>\n<iframe loading=\"lazy\" src=\"http:\/\/www.youtube.com\/embed\/YhU3vP6ADfA\" frameborder=\"0\" width=\"420\" height=\"315\"><\/iframe><\/p>\n<p>The demo of the code. Zoom the video to fullscreen to see clearly.<br \/>\n<iframe loading=\"lazy\" src=\"http:\/\/www.youtube.com\/embed\/LoRNz5b3x6g\" frameborder=\"0\" width=\"420\" height=\"315\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>A client-side javascript solution to making an entire form non-editable. This approach can be used to make any page read-only. The explanation The demo of <a class=\"mh-excerpt-more\" href=\"https:\/\/truelogic.org\/wordpress\/2012\/02\/11\/how-to-make-a-form-read-only\/\" title=\"How to make a form read-only\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18,11],"tags":[],"class_list":["post-1138","post","type-post","status-publish","format-standard","hentry","category-javascript","category-tutorials"],"_links":{"self":[{"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/posts\/1138","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/comments?post=1138"}],"version-history":[{"count":8,"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/posts\/1138\/revisions"}],"predecessor-version":[{"id":1147,"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/posts\/1138\/revisions\/1147"}],"wp:attachment":[{"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/media?parent=1138"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/categories?post=1138"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/tags?post=1138"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}