Hide when on default text

Hello, all

I have a text field on a form in which I want specific default text to appear only if a particular value has been selected from a dialog list above it.

Ex) If dialog list value = “abc”, default text reads “You chose ‘abc’”.

  If dialog list value != "abc", default text should not appear at all in the field.

Is a hide-when condition even possible on default text?

Any help at all will be appreciated.

Subject: Hide when on default text

text fields on documents that are NOT in edit mode do not show anything if there is no value in them - so

a formula something like:

@if(dialogvalue = “”; “”; dialogvalue = “abc”; “You chose ABC”; “”) would result as follows:

dialog box is empty - as in a new document - blank

dialog box is ABC - text field shows text

dialog box is some other value besides ABC - blank

the dialog box field should have the property “Refresh fields on keyword change” selected.

HTH

Subject: don’t need a field

further, you really don’t need a field to accomplish this, the same formula could be used in a computed text item

Subject: RE: don’t need a field

but a computed text requires a doc refresh (can be expensive in terms of performance)

ST

Subject: Hide when on default text

THere is a few things you can do to accomplish this. Hide when will work but you’ll need to call a document refresh, if you’re comforable with LotusScript then you can use doc.DisplayField = “You chose abc” without having to refresh the entire document.

And Yes, hide whens do act on default text

ST