Home › Forums › Bug Reports › Can not save empty text field › Reply To: Can not save empty text field
what is the difference between 5.6.17 and 5.6.19? I don’t think there’d be enough difference to cause a problem, nothing but bug fixes from what I can see and all my sites are running on .17
The only other thing I can think of is that the field is not being submitted when it’s empty, but that doesn’t make any sense to me since you say you can change it you just can’t save it with no value. TIf the field is a conditional field in ACF, and it is hidden because of the conditions, that would cause ACF not to updated it. If the value is being sent but not updating….. I’m a little lost. The only thing I know of that can cause this is a problem with the PHP input_max_vars setting, but that will just cut off after a number of fields, it’s not selective based in it having a value or not.
My next step in troubleshooting would be to add this to the top of my functions.php file to see if my empty value is actually getting to the server. That will narrow it down to either a PHP or a JS problem.
echo '<pre>'; print_r($_POST); die;
You’ll need to look for the field key of the field.
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.