Dynamic actions cannot access an item with display only type

I want to use a dynamic action to show and hide a field based upon the value of another item.  When the items type is set to "text field" I can access it easily by just selecting the item, but I cannot when the type of field is set to "display only".  

I have tried using the DOM reference but it doesn't access the innerHTML element the way I am trying, eg. P140_DUTY_TYPE.innerHTML

I have also tried using JQUERY selectors (which I am new to).  From what I learned I expected the selector to be:


I'm starting to think that it wont work.  I have also tried many other variations of the above.
Who is Participating?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.