adrianmak Posted May 17, 2017 Posted May 17, 2017 I know I could create a new template for that. Without create a new template, is it possible to show a field on a specific page edit ?
Valery Posted May 17, 2017 Posted May 17, 2017 Hi! Will "Show this field only if" condition work for you? You could specify an id of a page on which you would like your field to be present. I am attaching a screenshot to illustrate my point. 4
3fingers Posted May 17, 2017 Posted May 17, 2017 Does this really work? I always thought it would work only with a "field=value" condition, as expressed in the description.
LostKobrakai Posted May 17, 2017 Posted May 17, 2017 id is a field of the page even though it's an InputfieldHidden one. 3
adrianmak Posted May 17, 2017 Author Posted May 17, 2017 7 hours ago, Valery said: Hi! Will "Show this field only if" condition work for you? You could specify an id of a page on which you would like your field to be present. I am attaching a screenshot to illustrate my point. I knew this field setting. But I just knew I could use id to control a field visibility
entschleunigung Posted January 12, 2018 Posted January 12, 2018 hello, id=7753 ist for a specific id, but how can i manage this for an id and his children? thx
adrian Posted January 12, 2018 Posted January 12, 2018 32 minutes ago, entschleunigung said: hello, id=7753 ist for a specific id, but how can i manage this for an id and his children? thx Check out this great module by @Robin S http://modules.processwire.com/modules/custom-inputfield-dependencies/ 2
entschleunigung Posted January 12, 2018 Posted January 12, 2018 18 minutes ago, adrian said: Check out this great module thank you, adrian, that was a great hint. and thank you robin for this module. i used this selector and it works fine: parent.id=1053
Ellyot_Chase Posted July 26, 2022 Posted July 26, 2022 I'm in need of using this condition to show a field. But unfortunately parent.id is not working, and: parent_id fails also. Any suggestions? EDIT: I shoudn't be so shortsighted. This works like a charm. Thank you @Robin S! Quote Check out this great module by @Robin S http://modules.processwire.com/modules/custom-inputfield-dependencies/ 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now