Question

Global flag in client module

In this post Anhelina refers in a comment to setting a global flag in a custom field change handler, and reading the value in a validator function.

 

How do I create a global flag that can be accessed in a validator function in a client module?

 

Thanks in advance,

Like 0

Like

2 comments

Hello Gareth,

My comment was as an idea of how it might work but not a solution. Unfortunately, we currently have no official way to implement such logic.

Let's wait for the new releases and read the updates on the Academy according to the new functionalities.

Anhelina,

I used browser sessionStorage in the end.

Show all comments