Kartik DetailView - include attribute in POST data but protect from edit

Just wondering if there is a way I can include an attribute so it is a named as an attribute in the HTML model array (and is therefore included in the post data) but not allow it to be edited? There is of the option of creating a value of raw HTML but I was wondering if there is a cleaner way to do it? Thanks.