Sail Syntax for conditionally setting visibility property

Hi all,

I have a file upload SAIL component and I only want it to be visible when a certain condition is true.

a!fileUploadField(
label: "Upload Documents"
)

I would like it to only show when the stage is 2, and I wrote the following SAIL code but it doesn't seem to be working.

ShowWhen: if(local!formStage = 2, true, false)

Ehm, what is the correct syntax for setting the visibility property?

Thanks.

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data