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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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


1517 Views

Avatar
g

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.