Saturday, 13 December 2014

Show/Hide Work Item Field Based on Value in Another Field

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
a3
Next we’ll create a second field which is using WHEN condition with READONLY is the vale in condition field is NotEditable.
a4
Add the two fields to Form like below and we’ll see how it works
a3
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.
a1
When you have a value in the second field it is set to readonly and editable mode instead of hide and show.
a2
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.
a4

No comments: