Hide title fx expression help !

1
0
-1

Hello, I need help for hiding a form title based on a condition.

I have an object cloture which can have multiple commentaire1 (String / Multiple).

The collection of commentaire1 is well hidden in a simple container with inputs with this expression "!cloture.commentaire1".

But when applying the same expression on a title in another container the title is not hidden.

Why is is working with a collection container and not on a title ?!

I tried without success to find some size() isempty() functions.

Thanks for your help !

Cheers,

Pierre-Alain

1 answer

1
+1
-1
This one is the BEST answer!

Hi,

In javascript the function to test get an array size is `length`. So a condition like `myCollection.length === 0` should do the job.

HTH
Romain

Comments

Submitted by pa_2529232 on Mon, 12/07/2020 - 18:09

Thank you Romain I'm really becoming a Bonita fan!

Notifications