I’m having a problem with a hide when button.
I wrote it to “show when”. What is wrong here? The button is not showing up.
Here are the conditions…
If field 1 = yes and cost is less or = to $10,000, show the button or show the button if field 2 = yes.
!(field1 = “Yes” & Cost <= “10000”) |
!(field2 = “Yes”)
Thanks…
Subject: problems with hide when
First, you should probably write this as:
!((field1 = “Yes” & Cost <= “10000”) | (field2 = “Yes”))
but more importantly, if Cost is a numeric field, your should write this as
!((field1 = “Yes” & Cost <= 10000.00) | (field2 = “Yes”))
Subject: RE: problems with hide when
Yes, cost is a numberic field. I’ll try you suggestions. Thanks…
hcl-bot
4
Subject: RE: problems with hide when
For readability, I usually put these in as …
!(
(field1 = “Yes” & Cost <= 10000.00) | (field2 = “Yes”)
)
… so it’s obvious at a glance that the code is a Show-When
hcl-bot
5
Subject: problems with hide when
Hide button when
(field1 != “yes” & cost > 10000) | (field2 != “yes”)