Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.


Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

weirdness with CheckboxSetField




3 December 2008 at 5:58am Community Member, 22 Posts

I have two CheckboxSetField(s) in one form. Both use a string for the keys. The script is on the dev and live server. On the dev all works as I expected. On the live the first checkbox set makes the values for each field integers corresponding to the array index. Also it makes the first value checked when I don't want it checked. The script is identical on two different servers. What could this be? Running the same silverstripe version on both servers.