Hi, I would like the visibility of a data entry field in the item details tab to be conditional on the value of another field (such as a checkbox). I see conditional validations that are dependent on another field, but would like to be able to completely hide a field unless a condition is met. This would help make the data entry requirements clearer to the user during item creation/editing, rather than getting an error message after clicking "save". Is this functionality currently available? If not, I can submit to IdeaStation. Thanks!
Solved! Go to Solution.
This feature you are looking for is currently not available. Please submit this feature request to the PLM 360 Idea Station.
What you can however do at this time is to return some feedback to user when checkbox is selected. The field that depends on the checkbox field could become a computed field that checks whether checkbox is selected or not and displays some text accordingly.
The computed field syntax would be similar to this provided the checkbox item is called CHECKBOX.
Yes. You can leverage HTML <span></span> element in your computed field to change the text color, font style and weight.
Please refer to this URL for further details:
Thanks, that is good stuff. I was able to make red, bold, italic text using the following:
'<span style="color:red; text-transform:uppercase;font-style:italic;font-we
However, I'm trying to do a mashup of HTML with a CASE structure and not having any luck.
Here is my "code".
The "CATEGORY" field is a pick list. The intent is for the computed field text to be green if a selection has been made in the CATEGORY field. If a CATEGORY has not been selected, then the red warning text should appear.
With the above code, my text is simply returning the default, currently set to "test". Any suggestions on the code, or am I bumping up against a code limitation?
Could you please try with this WHEN statement?
WHEN (CAST(CATEGORY as Float) = -999)
My testing indicates that when nothing is selected in the picklist, the category float value is equal to -999.
I was able to get the HTML work (without the CASE structure), but only during cloning. I don't want the computed filed to be visible when viewing items, so I have the field visibility set for "edit" only. However, it does not show during creation, only editing or cloning an existing record. Shouldn't this also work during creation?
Maybe the null selection in your picklist does not return -999 in your case. To determine the value here is what I used in my computed field:
WHEN (CAST(CATEGORY as Float) > 0)
This returns the float value associated with the selection you made in your picklist.
I suspect that the computed field does not compute until the item is created, therefore I cannot get the behavior I want (HTML) during Item creation. Is that correct?
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register
Start with some of our most frequented solutions to get help installing your software.