Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

Missing function declaration for onCondition

snowuser111
Kilo Guru

Hi,

I am getting below error in UI Policy. Is it mandatory to use
function onCondition(). I have created function onSubmit but it shows this error.

"Missing function declaration for onCondition"

Thanks

1 REPLY 1

Aaron40
Kilo Guru

Hi.

Are you asking about a UI policy or a client script?

If you're talking about a client script, you DO need the proper function declared before it'll work.