hi,
i made a widget with three inputs
static $db = array(
"Title" => "Varchar",
"RSSFeed" => "Text",
"ShowRSS" => "Boolean"
);
my getCMSField function looks like:
function getCMSFields() {
return new FieldSet(
new TextField("Title", "Title"),
new TextField("RSSFeed", "RSS Feed"),
new CheckboxField("ShowRSS", "Show RSS Link?")
);
}
but after checking the checkbox and saving, the checkbox is not saved in db.
the db field is created properly, but no value is written to it.
the other fields are ok.
is it because of the widget?
thanks