ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Channel Fields Default Values

October 03, 2011 10:58pm

Subscribe [4]
  • #1 / Oct 03, 2011 10:58pm

    afterXleep.-

    1 posts

    Hi.

    I need to have some default (pre-filled) or some ‘default’ values on my channel fields so the Publish form is not empty when adding a new entry. 

    Any idea how to do that?  Cant seem to find it anywhere and it´s kind of very basic functionality.

  • #2 / Oct 04, 2011 3:28am

    DanL

    56 posts

    My first thought would be to use Javascript to deploy a default value for fields when they are empty, but you would have to create SAEF templates on the front-end to do this.  There does not appear to be a way to apply a default value to fields in the CP.

  • #3 / Oct 04, 2011 11:17am

    Mark Bowen

    12637 posts

    Hi afterXleep.-,

    There is no built-in way of doing this I’m afraid.

    There used to be an extension for ExpressionEngine 1.x that allowed you to do this sort of thing but I’m fairly certain that it hasn’t been updated to work with 2.x

    You might like to check over on devot-ee.com to see if there is anything over there that might help with this though.

    Other than that then you would need to create a Safecracker form as Dan mentions above in order to achieve this sort of thing.

    Does that help at all?

    Thanks,

    Mark

    P.S. Dan, thanks for the help there.

  • #4 / Mar 26, 2012 9:14am

    I’m actually really surprised that such a basic feature isn’t included.

    Is there any possible way to achieve this ?
    can’t/shouldn’t be that hard I think..

  • #5 / Mar 27, 2012 7:10pm

    Sean C. Smith

    3818 posts

    Hi Jan,

    At this time there still isn’t any way to do this. I would recommend making a Feature Request. Alternatively if you have the php skills you could write an add-on that would do this.

    Sean

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases