v9.1 attachment clip value

Hi,

Anyone knows how to do a check to an attachment clip whether it has value or empty? i tried it by assigning a form variable say local.attachment and built IF ELSE statement in a button server action to check whether the clip is empty or not by using local.attachment!="". But seems like it always go to the "else" part, even though the clip is already filled in. I think my condition is wrong, but what value should i compare it against?

i'm on v9.1 SR1 btw.

Tagged:

Comments