Rameshkumar
Team,
Could you please let me know, how do I achieve the below scenario ?
- On Submit, would like to validate the fields first, if function returns true, then I need to call the other function to hide the current pane.
- I have placed my function like this in On Click event of the button (@cciValidate();${Stack2}.setCurrentPane(1);)
The above function calling is not working as expected. So I am using to call the second function in the boundary trigger event as a work around. Could you please tell me, how do I use multiple function in On Click event ? Let me know, if you need more information.
SPARK Support
Ramesh:
In your On Click function simply add the following (here I am assuming that you have a variable res, set to the result of your edits):
if (!res)
page.ui.get(“Stack2”).setCurrentPane(2);
return res;
This should do what you want.
John