Home › Forums › Front-end Issues › Problem to reset conditional fields › Reply To: Problem to reset conditional fields
Hi Hube2,
thanks for reply.
The solution that you have suggested is not good for me.
Infact I have a lot of conditionald field that can be changed in time.
If I write php code to check field’s value everytime that I add new conditional field I would to add php code for that field/fields. This option is not dynamic.
Also the solution to delete the enterly post is not good because the custom post is a order with a specific id that not must change.
I would to display the custom fields using the same javascript that use the plugin. If field is hide it should not be displayed using get_fields(). How can I do this? Does that information write somewere? There is any flag or field that contains this information?
I would not write new Javascript but exploit already existing information.
Thanks a lot.
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.