Conditional Visibility based on reference item.

I need to set conditional visibility based on whether or not a field is set in a collection that is referenced in the CMS.

  • Alex Nichol
  • Jan 15 2017
  • Shipped
CMS
  • Jul 24, 2018

    Admin Response

    July 24, 2018: Good news! Now you can toggle the visibility of CMS elements based on fields of referenced items. Read all about it.

  • Murray Heidebrecht commented
    January 24, 2017 00:36

    This would be a very useful extension of the Conditional Visibility feature. It's a little cumbersome to have to use a dynamic list to get this functionality.

  • William Wong commented
    January 26, 2017 21:59

    +1 on this. Due to the limitation of 30 fields per collection, i'm forced to combine collection items using a "single reference field". 

    I run into problems when trying to control what images are displayed based on whether they are "set" or not. 

    See https://www.royaltyexoticcars.com/cars/rent-a-2017-lamborghini-huracan-convertible-yellow for an example of images being displayed when they are not set :( 

  • Andrew Leyland commented
    February 01, 2017 19:19

    I need this as well. +1!

  • Diarmuid Sexton commented
    February 02, 2017 13:34

    Yes, I need to be able to show / not show an element if a single reference field is set / not set. i.e. if the single reference field is empty, do not show that item.

  • Kees Kroon commented
    March 29, 2017 09:33

    This feature used to work they removed it so now i cant finish my website Great job webflow also for letting the webflow users know about removing a feature :( first time to be realy disapointed with webflow

  • Chris Scott commented
    April 06, 2017 17:22

    Yeah, I need to be able to show or hide an element based on the name of a referenced collection (i.e. - "Only show this element if the referenced Course collection is name 'Course 1'" for something like an opt-in form that's tied to a specific course).

  • Sean Tubridy commented
    August 16, 2017 20:38

    This would be super useful. I want to show my blog authors' social media icons at the end of each post based on whether or not they have a link in their referenced bio to a given social media site.

  • Taryn Kealani commented
    September 05, 2017 18:44

    With the limited fields we have, this is really needed. 

  • Matti commented
    September 29, 2017 17:35

    +1 need it now

  • Kees Kroon commented
    October 27, 2017 12:16

    Realy need this feature back it used to be in webflow so please bring it back

  • Handbuilt Developer commented
    December 07, 2017 04:12

    Why not?

  • Kai Tamulonis commented
    December 14, 2017 06:23

    Throwing my vote to this—seems like something that wouldn't be a huge amount of effort!

  • Oben Interactive commented
    February 09, 2018 21:41

    +1must have

  • Ds 18 commented
    March 21, 2018 16:46

    Why isn't this already included? It's really important.

  • OpenSail Digital Agency commented
    March 27, 2018 22:51

    I gave three votes to this. I'm creating a website for a greenhouse and in the plant database, I need the ability to show a "Related Plants" heading if there are, in fact, related plants existing in the reference item field. Pleeeease develop this. Someone on the forums said this was in the works back in 2016.

  • Joshua Jacobs commented
    April 10, 2018 18:46

    Definitely need this. I have a "Project" page, and a "Related Projects" section with a headline in it, and rather than have an "Empty" state for the field referencing the project I'd love to be able to just hide the whole section.

  • Luke Dorny commented
    June 13, 2018 00:22

    That's great news, Webflow! Thanks for the update!

  • Fei-Ling Tseng commented
    July 24, 2018 15:57

    Fantastic news <3 can't wait to try it out

  • Luke Dorny commented
    July 24, 2018 16:14

    Most excellent. This is wonderful news.