The effects of alcohol on
sustanon 250 leucine for – real weight loss & bodybuilding benefits?
(@rokaya)
Active Member
Joined: 5 years ago
How to add conditional field in wpDiscuz (field visibility depends on other field value)
Thanks
(@asti)
Illustrious Member
Joined: 8 years ago
@rokaya,
We're really sorry, but wpDiscuz doesn't have such a feature.
(@rokaya)
Joined: 5 years ago
Active Member
Posts: 3
Feb 23, 2021 11:10 am
@asti Thanks a lot
Just other question i have installed upload media add ons but i can not see attach file field in the form
(@asti)
Joined: 8 years ago
Illustrious Member
Posts: 8192
Feb 23, 2021 11:26 am
@rokaya,
For further support, we'll need to know if you have installed the wpDiscuz Media Uploader addon or not, the version of the wpDiscuz and/or the wpDiscuz Media Uploader plugins.
(@rokaya)
Active Member
Joined: 5 years ago
I want to get field id in order to make other field display depending on first field value like this :
$value = get_comment_meta( $comment_id, 'nbr_famille-0_0', true );
if($value == '8'){ ?>
<style>#age_8-0_0{
display:none !important;
}</style>
<?php }
//if the family number (which has the idnbr_famille-0_0) is 8 so field with id age_8-0_0 display none