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.

Showcase Questions /

Feedback and questions about sites in the Community Showcase.

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

Dropdownfield not saving selected value to database


Go to End


3 Posts   3045 Views

Avatar
gerhardtvr

Community Member, 3 Posts

21 December 2010 at 8:11pm

Hey ppl

I have a problem, i worked local and created a dropdown with values of the products that was added in the cms.
In the local database, it saves the data to the database, but on my online version, it does not.
Can anyone help me plz?

Avatar
Willr

Forum Moderator, 5523 Posts

22 December 2010 at 9:35am

Could you post your code?

Ensure that the columns exist in the database to save into.

Avatar
gerhardtvr

Community Member, 3 Posts

22 December 2010 at 5:55pm

Hey Willr, thanks for posting and trying to help.

I got it working yesterday, made a stupid mistake......
I have only recently started using Silverstripe, so i still need to learn more about it.