Jump to content

Hide a Fieldset Page subfield on a certain template


cst989
 Share

Recommended Posts

Using the "show only if" logic on a Fieldset (Page) field settings, can I target the template of the page that's currently being edited? I think this is more complicated than it should be because the page in question is actually that kind of sub-page containing the fields

E.g.

template='hotels'
page.template='hotels'
parent.template='hotels'

image of what I'm looking at...

image.png.7e72e48d81ecdfadd4e7f3b041132582.png

Link to comment
Share on other sites

  • 1 month later...

Bump! Nobody know if this is possible? Am I explaining the question badly? 

Edit: revisiting this so much later, I had a brainwave, I can simply target the field with some custom CSS:

.ProcessPageEdit-template-hotel .Inputfield_gallery .Inputfield_map {
    display: none;
}

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...