The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Share:
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.

 

Conditional field

5 Posts
2 Users
0 Reactions
1,055 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: 8075
 Asti
Support
(@asti)
Illustrious Member
Joined: 8 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: 8 years ago

Illustrious Member
Posts: 8075

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