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.

Archive /

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

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

weirdness with CheckboxSetField

Go to End



Community Member, 22 Posts

3 December 2008 at 5:58am

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.