Notifications
Clear all

Paid Addons Support Forum Only

Please note, that here we only support Paid Addons issues and questions.

gVectors Support staff works from 6am to 6pm (GMT+0)

All questions related to wpForo and wpDiscuz free plugins should be asked in the corresponding plugin support forum:

 

wpDiscuz Support Forum   wpForo Support Forum

Linked or dependent fields  


mistral
Posts: 9
(@mistral)
Active Member
Joined: 2 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: 4145
Admin
(@astghik)
Support Team
Joined: 3 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: