Andreas Lindahl

And if you view the Status column in your database it's empty?

SilentDesigns

Weirdly the correct value is showing up in the preview mode of the CMS dashboard, but not when I view the page via the main URL

nightjarnz

ensure the fields have content I guess (in the HTML - the options are as you expect)

SilentDesigns

@nightjarnz is that not how I have it above? E.g. it's Status in the $db and then I have

  1. ... new OptionsetField( $name = "Status", ...
when creating field.

nightjarnz

Name (not title) the field the same as the field on the model you're wanting to write into.