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.
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
October 03, 2011 10:58pm
Subscribe [4]#1 / Oct 03, 2011 10:58pm
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
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
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
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