The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Share:
Notifications
Clear all

Conditional field

5 Posts
2 Users
0 Reactions
874 Views
Posts: 3
Topic starter
(@rokaya)
Active Member
Joined: 4 years ago

How to add conditional field in wpDiscuz (field visibility depends on other field value)

 

Thanks

4 Replies
Asti
Posts: 7666
 Asti
Support
(@asti)
Illustrious Member
Joined: 7 years ago

@rokaya,

We're really sorry, but wpDiscuz doesn't have such a feature. 

Reply
2 Replies
(@rokaya)
Joined: 4 years ago

Active Member
Posts: 3

@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 

Reply
Asti
 Asti
Support
(@asti)
Joined: 7 years ago

Illustrious Member
Posts: 7666

@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.

Reply
Posts: 3
Topic starter
(@rokaya)
Active Member
Joined: 4 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

Reply
Share: