Hi,
I am in MT Cloud environment.
I have this Event connected to Button Click:
In Form Script Method I do some preparations, and according to result of this Form Script (check upon Variable), I want to setup condition which can decide if next step (Run Form) is proceed or not.
But how can I setup condition on this? For example:
if (varABC == "a") proceed Run Form, if not, do nothing.
Thanks.
Split up your Event in 2. like below.
Then call the Second Event in your Script instead if the Condition is fulfilled.
i.e.if(varABC == "a") ThisForm.PostEvent("ReadStatement_Exec");…
i.e.if(varABC == "a") ThisForm.PostEvent("ReadStatement_Exec");