Thank you for your post.
The "Hide object when" (Nascondi agate se) requires a calculation formula; not a script step. Whenever I try to enter a script step, it places quotes around it. For example, "Show Custom Dialog". What script step are you using?
I know it requires a formula, but if I choose an action, a script step associated to this field, the formula in "hide object when" disappear and is not visible.
I tried with "go to layout" and the bug is present.
I published a simple example on YouTube.
I hope you find this useful!
I don't know if I got you wrong:
The result of that formula for hide object (same for conditional formatting) must be true OR false.
Kind of: if this statement is true, then hide the object.
Thank you for the video.
When you group a button to a field, the hide condition for the field still exists, but since you cannot manually enter the field, you will only see the information applied to the button. When you remove the action of the button (Do nothing), then you will see the condition reappear when you select the field.
Exactly TSGal! This is exactly what I tried to say :-)
The information is applied to the field, but this is either a field either a button... so I expect to see the formula, always. Conditional formatting works in this way. Every other configuration about that field works in this way. Only "conditional hiding" works in another way.
It's not very handy because if I placed a complex action (for example, an Execute script with complex and long parameter) and I want to remove/change "conditional hiding", I have to remove the action, then remove/change the formula, and then I have to replace the action.
In other hand: the behaviour of "conditional hiding" is different compared to all the other settings.
Please click the link provided by Robert. It explains what you are dealing with here: When a text object has a script attached the Hide Object When calculation may be over-ridden
And this is NOT unique to the Hide Object When. The same thing happens with Object Names and for the same reason.