Most browsers interpret the presence of a “checked” attribute on an HTML input field with type “checkbox” as “this checkbox is checked”, regardless of the actual value of the “checked” attribute. StructrScript provides a special null value that can be returned from a statement that prevents the rendering of an HTML attribute completely.



About this article
Last change 2017-05-04
Topics FrontendFunctionsStructr 2.0