Default Values for fields not showing up

2 posts by 2 authors in: Forums > CMS Builder
Last Post: November 30, 2009   (RSS)

Re: [bruno] Default Values for fields not showing up

By Chris - November 30, 2009

Hi bruno,

I'm afraid that default values only affect new records.

Depending on what you're trying to accomplish I can think of a couple of solutions for you: either adding some code to your viewer pages to display the default value if the field has no value -- or using the new MySQL Console plugin to update your existing records without a value in that field to have your new default.

Please let me know exactly what you're trying to accomplish and I'll see if I can come up with a solution for you.
All the best,
Chris