Hiding field in read mode - brain fart!

Hello all!

I’m trying to hide a field when the value is 1, which is also the default. The field is a number field, with 3 fixed decimal places. There is also another hide-when which hides the field when a special toggle link is clicked on, to hide a row.

This is what I have as the hide-when:

ShowHideTape = “No” | @IsDocBeingEdited = @False ; @ThisValue = 1

Obviously it’s not working, and it’s still showing in read mode if the value is 1. It should always show in edit mode.

Any help out there? I’m a bit stuck.

Thanks!

MaryJane Johnson

Subject: Hiding field in read mode - brain fart!

In the hide/when options there is a box you can check for “opened for read”.

Subject: Hiding field in read mode - brain fart!

MaryJane,

Instead of using the Hide-When, just use the section “Hide paragraph when document is” and check the “Previewed for reading” and “Opened for reading”.

HTH,

Clint

Subject: RE: Hiding field in read mode - brain fart!

Thank you Clint & Charles, but I only want it hidden in read mode IF the value = 1 (also the default). So it’s not just if it’s in read mode, otherwise that would be nice and easy! :slight_smile: I’m trying to show the variations from the ‘norm’ in read mode instead.

Many thanks,

MaryJane Johnson.

Subject: RE: Hiding field in read mode - brain fart!

Try it like this:

(!@IsDocBeingEdited & = 1)

I haven’t had much luck with @ThisValue in some instances.

Subject: RE: Hiding field in read mode - brain fart!

Dylan, that works perfectly, thanks ever so much! I’ve only usually had to hide fields with pretty simple formulae, and this one annoyed me a ton. :slight_smile:

I’ve had no problems with @ThisValue in other formulae, though, I have to say, but it’s certainly good to know that it could be buggy.

Thanks again!

MaryJane Johnson.