Hide (radio type) fields based on a value
on the profile View page, I’d like to hide all fields who are radio types and when the value of those is “no” (I have 2 choices with those radio fields, “yes” or “no”)
I was able to hide fields with bp_get_the_profile_field_value() by checking the value with a condition and strip_tags() to remove html and other functions to some weird invisible characters but that’s a little bit “hacky”…
Is there a solution ?
- You must be logged in to reply to this topic.