Is it possible? To show/hide work item field based on value in another field. Answer is yes and no. Let me show you why and how.
Let’s create a condition field with two options
Next we’ll create a second field which is using WHEN condition with READONLY is the vale in condition field is NotEditable.
Add the two fields to Form like below and we’ll see how it works
When the second field is having no value (empty) then it is hidden when selected “NotEditable” in condition field and shows when it is selected “Editable” in condition field.
When you have a value in the second field it is set to readonly and editable mode instead of hide and show.
If you want to handle multiple values in condition field, and some of them set the second field show-hide/readonly-editable you can do it as shown below.
Subscribe to:
Post Comments (Atom)
Popular Posts
-
In Azure DevOps YAML pipelines there are several functions available for you to use. replace is such a useful function, which you can use t...
-
Adding Azure Container Registry (ACR) service connection to Azure DevOps is really simple as described in " Create Service Connection ...
-
We have discueed, that we have to use an environment variable to handle input parameter default values, if we are using trigger for workflo...
-
Some times a silly mistake can waste lot of time of a developer. The exception “System.IO.IOException: The response ended prematurely.” whil...
-
Sometimes you may need to edit files especially the web.config or appsettings.json files after deploying your application to Azure App Servi...
1 comment:
Thanks for this post. I am new to TFS, is it possible to hide or unhide fields in TFS based on other field values? If using XML is the way can you please help me how to integrate these XML snippets in TFS.
Post a Comment