Picture of Tariq Aziz
A function or code to forcefully complete a component
by Tariq Aziz - Friday, 28 October 2016, 8:00 PM
 

Hi All,

I am overridding few components, either by modifying the component js file or by simply writing code in vanilla.js file. I need a function or code using which I can forcefully complete a component (progress bar moves and show complete on progress slider). I don't want to trigger the click event of submit, because that way a feedback pop-up will shown.

I want to get the object of the component and then call the function which is responsible for completing the component in case I am in vanilla.js. Inside the component js file I want to make a criteria for completion and call the appropriate function to complete it.

Thanks in advance.

Picture of Chuck Lorenz
Re: A function or code to forcefully complete a component
by Chuck Lorenz - Saturday, 29 October 2016, 4:24 AM
 

Try something like this:

this.setCompletionStatus();