You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to edit a theme from a customer which use ACF plugin and also option-tree, It created a page and on that page it added some filed using ACF and put some conditional logic for fields so if a condition is true some other fields may show in page else they don't, the problem is I'm trying to add some new field with some new condition but it shows the field without depend to the condition but it worked for all previously added field, I edited the file which has many arrays in it and use acf_add_local_field_group function to add fields also I added my newly created field to .js file like this :jQuery('select[name=manategh]').hide(); and also jQuery('select[name=manategh]').show('fade'); but it still shows the field without considering the condition. my question is , is it related to option-tree ? how can I understand how does it work and how can I change the theme to make my condition work ? I mean should I edit any specific file ? help me please to solve this
The text was updated successfully, but these errors were encountered:
Hello,
I want to edit a theme from a customer which use ACF plugin and also option-tree, It created a page and on that page it added some filed using ACF and put some conditional logic for fields so if a condition is true some other fields may show in page else they don't, the problem is I'm trying to add some new field with some new condition but it shows the field without depend to the condition but it worked for all previously added field, I edited the file which has many arrays in it and use acf_add_local_field_group function to add fields also I added my newly created field to .js file like this :
jQuery('select[name=manategh]').hide(); and also jQuery('select[name=manategh]').show('fade');
but it still shows the field without considering the condition. my question is , is it related to option-tree ? how can I understand how does it work and how can I change the theme to make my condition work ? I mean should I edit any specific file ? help me please to solve thisThe text was updated successfully, but these errors were encountered: