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.

Showcase Questions /

Feedback and questions about sites in the Community Showcase.

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

Dropdownfield not saving selected value to database


Reply


3 Posts   1808 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, 5513 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.