show content block by multiple conditional logic
-
I want to add status for member in profile and it won’t show in registration form, this status can be voted(select Yes or No) by 5 different admin.
In my Profile Form,I have 5 radios and 3 content blocks, each radio has 2 option Yes and No, the content of content blocks are “Pending”, “Pass”, “Not Pass” respectively.
If None of radios get selected, the Pending Content block will show.
If one of radio select No, the Not Pass Content block will show.
If over 3 radio select Yes and none of radio select No, the Pass Content will show.
How should I configure my conditional logic?
My current configuration is:
Pending Context Block
show if radio_1 empty
show if radio_2 empty
show if radio_3 empty
show if radio_4 empty
show if radio_5 emptyNot Pass Context Block
show if radio_1 contains No
show if radio_2 contains No
show if radio_3 contains No
show if radio_4 contains No
show if radio_5 contains NoPass Context Block
hide if radio_1 contains No
hide if radio_2 contains No
hide if radio_3 contains No
hide if radio_4 contains No
hide if radio_5 contains NoWith above configuration, the pending shows before I update the profile.
If I select No on radio_1 and update the profile first, it shows Not Pass.
But when I select another radio option with Yes,after updating the profile it shows Not Pass and Pass at the same time.
Is there a better solution to build a status in member profile with custom condition(like make a custom shortcode)?
Or should I connect with other third party plugins to build this status function? (I also try ACF checkbox but it doesn’t appear in UM profile)
- The topic ‘show content block by multiple conditional logic’ is closed to new replies.