2 Replies Latest reply on May 21, 2012 8:59 AM by jreeves

    Is there a way to conditionally display fields?

    Molly McCarthy Apprentice

      Is there a way to display a field based on which template is in use?  For example, I choose template A and field 123 is displayed and editable but I choose template B and field 123 is not displayed at all.  Then ideally a published workspace would display the field based on the template used to create it.  Thanks in advance for any input.

        • Re: Is there a way to conditionally display fields?
          Neil Campbell Expert

          I'd be interested to know if this was possible as well.  My understanding is that you can't do this as the fields are controlled at the "module" level (eg SPM) and the templates you create all share the same fields.  As a workaround we have conditioned the visibility of fields in the overview so that at the Project create stage, certain fields are only available based upon an answer given in another field. 

           

          The simplest example is that we have a UK and Non UK set of fields, if I select "UK" from our region field I get one set of fields visible if I select non UK I get another.  This works well for us but if you could restrict fields at a template level it would be much more flexible.

          • Re: Is there a way to conditionally display fields?
            jreeves Master

            Hi Molly, templates are made available based on the values to the fields inputted while creating the workspace.  However you can create "Questions" which will show up after selecting a template.  These questions can be used as conditions as well.  Take a look at p. 38 in the Project Template Guide for more information on "Questions" to see whether it will meet your need.

             

            Jeremy