Hi, I have a simple checkbox which works fine but how do I write the values to the database rather than the IDs? This is simply for display purposes on a product page. At the moment it returns 1,2,3 or 4 but I want it to display Technique 1, Technique 2 etc. My code looks like this:
$field = new CheckboxSetField('Techniques', 'Select Techniques', array(
"1" => "Technique 1",
"2" => "Technique 2",
"3" => "Technique 3",
"4" => "Technique 4"));
$fields->addFieldsToTab(
"Root.Details",
array(
$field
)
);
btw each product may have more than one technique so radio buttons don't work here.
Thanks for your help.