Notifications
Clear all

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed. We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

Linked or dependent fields

2 Posts
2 Users
0 Reactions
1,682 Views
Posts: 8
Topic starter
(@mistral)
Active Member
Joined: 7 years ago

Hi Guys

I want to display a field in the public user profile, dependent on a checkbox, also in their profile. For example...

  • Field A
  • Checkbox B
If checkbox B = true : display Field A

If there is not a way to configure this in the settings, is there a hook or filter which would allow me to make it work?

Thanks

Mistral

1 Reply
Astghik
Posts: 6444
Admin
(@astgh)
Illustrious Member
Joined: 8 years ago

Hi mistral,

You don't need to use any hooks in this case.

Just do this customization using the field name value, add your js code in your current active theme's js files, or create a new costum.js file, add your custom code there and enqueue the costum.js file in functions.php file. 

Field Name value
Reply
Share:
Scroll to top