Current workflow presentation does not support enabling/disabling of input parameter fields (the type of the field doesn't matter).
The only option is to hide/show the field, using either Show parameter input or Hide parameter input presentation properties.
I need to show the result. Because I'v a script that return in the network card is connected or not. If the network card is connected the field yes is active, if the network card in not connected the field no is active. But the user is able to change the response. I want to disable the field. The user can show the result, but can't change it.
see attachement png
Yes, I understand the use cases of this feature, and I agree it is a useful one, but the current presentation simply does not support it. Hopefully, it will be added in some future vRO release.
I know this is a very old post but maybe my solution is of some help, to someone looking for something similar.
What I do is I populate an array with a single item - either yes,no,true,false or a value. I then populate a string input field on the input form with this array of Predefined List of Answers (of which there is only the one option). Viola! A Read-only drop-down box with only one option.