Home › Forums › ACF PRO › Clear fields on save if radio button is set › Reply To: Clear fields on save if radio button is set
It you want to keep the extra data out of the database, then the second way may be the only way.
However, you might actually want to try it and see what is saved in the database. I thought I read something about data in hidden conditional field not being saved, remember exactly where or when I heard it. No point in doing a lot of work if it is already being taken care of. If this is the case I’m sure that ACF will not delete existing data, for example if the user actually saves the post and then changes their mind and fills in the other 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!
Are you building WordPress sites with ACF and @BeaverBuilder, and wanted to use your ACF Blocks in both the block editor and Beaver Builder?— Advanced Custom Fields (@wp_acf) May 10, 2023
The BB team recently added support for using ACF Blocks in Beaver Builder. Check it out 👇https://t.co/UalEIa5aQi
© 2023 Advanced Custom Fields.