Home › Forums › Front-end Issues › Default values don't show on frontend › Reply To: Default values don't show on frontend
Unfortunately, due to system restrictions, it is not possible to load in the default value into the front end. Only on the backend.
Your ‘add a space and then delete it.’ idea is the same as just saving the post. This will save the data to the DB and then you can load it in the front end.
Basically, without saving the post, the reference field from the value to the field object will not exist, therefore, on the front end when you use get_field, there is no way for ACF to know which field you want to load the default value from.
Sorry, but this is not possible.
Thanks
E
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.