Panel Validation with Rule Editor
Hi I am working on a wizard based form in AEM.
As per the requirement I have to validate fields in panel before moving to the next panel.
I am using Rule Editor for JS validations. I am not sure how to validate the panel with rule editor. As per adobe it should be called for "Step Completion Expression". I am not able to find this expression with Rule Editor. I tried following on click of a button
if(window.guideBridge.validate([],this.panel.navigationContext.currentItem.somExpression))
{
//Move to next panel
}
But this is returning true always and my panel is not validating,