Alex CA Posted August 25, 2017 Posted August 25, 2017 Hi, I am just getting started with a project which has been previously built using Processwire2.7. I was wondering if there was anyway to modify the admin screen when entering data for a template. For example, I have created a student template with fields : Name, Major,Insitution, is Graduate?(checkbox) and a hidden field : ' Graduate level' Now, whenever I check the 'is Graduate? ' checkbox on the admin panel when entering the data, I want to show the 'Graduate level' field. Since, this is a change on the view for the admin page, I am not quit sure if there is some way to achieve this. Does anybody know how I could achieve this? Thanks!
kongondo Posted August 25, 2017 Posted August 25, 2017 Have a look at Show If/Inpufield Dependencies https://processwire.com/api/selectors/inputfield-dependencies/ 2
dragan Posted August 26, 2017 Posted August 26, 2017 Does anybody know if Inputfield Dependencies work with page reference fields? I tried using it today with PW 3.0.72 and it didn't work: show this field only if... service=1237 service=name-of-service service='title of service' Sadly, this part hasn't been updated: Quote Not all Inputfields will work with dependencies, though most should. We'll later update this page with a list of core Inputfields that are known not to work with dependencies.
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