adrianmak Posted May 17, 2017 Share 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 ? Link to comment Share on other sites More sharing options...
Valery Posted May 17, 2017 Share 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 Link to comment Share on other sites More sharing options...
3fingers Posted May 17, 2017 Share 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. Link to comment Share on other sites More sharing options...
LostKobrakai Posted May 17, 2017 Share Posted May 17, 2017 id is a field of the page even though it's an InputfieldHidden one. 3 Link to comment Share on other sites More sharing options...
tpr Posted May 17, 2017 Share Posted May 17, 2017 afaik it works with template id too, "template!=1200" 2 Link to comment Share on other sites More sharing options...
adrianmak Posted May 17, 2017 Author Share 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 Link to comment Share on other sites More sharing options...
entschleunigung Posted January 12, 2018 Share 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 Link to comment Share on other sites More sharing options...
adrian Posted January 12, 2018 Share 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 Link to comment Share on other sites More sharing options...
entschleunigung Posted January 12, 2018 Share 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 Link to comment Share on other sites More sharing options...
Ellyot_Chase Posted July 26, 2022 Share 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 Link to comment Share on other sites More sharing options...
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