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   1770 Views

Avatar
gerhardtvr

21 December 2010 at 8:11pm Community Member, 3 Posts

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

22 December 2010 at 9:35am Forum Moderator, 5511 Posts

Could you post your code?

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

Avatar
gerhardtvr

22 December 2010 at 5:55pm Community Member, 3 Posts

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.