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.

  • Luke Dorny commented
    24 Jul, 2018 04:14pm

    Most excellent. This is wonderful news.

  • Fei-Ling Tseng commented
    24 Jul, 2018 03:57pm

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

  • Luke Dorny commented
    13 Jun, 2018 12:22am

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

  • Joshua Jacobs commented
    10 Apr, 2018 06:46pm

    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.

  • Derrick Swanson commented
    27 Mar, 2018 10:51pm

    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.

  • Ds 18 commented
    21 Mar, 2018 04:46pm

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

  • Oben Interactive commented
    9 Feb, 2018 09:41pm

    +1must have

  • Kai Tamulonis commented
    14 Dec, 2017 06:23am

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

  • Handbuilt Developer commented
    7 Dec, 2017 04:12am

    Why not?

  • Kees Kroon commented
    27 Oct, 2017 12:16pm

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

  • Matti commented
    29 Sep, 2017 05:35pm

    +1 need it now

  • Taryn Kealani commented
    5 Sep, 2017 06:44pm

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

  • Sean Tubridy commented
    16 Aug, 2017 08:38pm

    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.

  • Chris Scott commented
    6 Apr, 2017 05:22pm

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

  • Kees Kroon commented
    29 Mar, 2017 09:33am

    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

  • Diarmuid Sexton commented
    2 Feb, 2017 01:34pm

    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.

  • Andrew Leyland commented
    1 Feb, 2017 07:19pm

    I need this as well. +1!

  • William Wong commented
    26 Jan, 2017 09:59pm

    +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 :( 

  • Murray Heidebrecht commented
    24 Jan, 2017 12:36am

    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.

  • +28