Strikethrough

I have a form set up as a basic to-do list with the fields, Item and Completed. If Completed == ‘Y’ I want to format the Item field with strikethrough or <del>. Can someone point me in the right direction?

Thanks

I see that your post is a few years old … but for others who may be looking (this works on a grid - I am trying to figure out a calendar)

ONRECORD
//20200422:bh Strike through the name if item is completed

if ({completed_by_id} != ‘’) {

echo “<style>#id_sc_field_name_” . $this->SC_seq_page . " {text-decoration:line-through; }</style>";

}