Run function when NEXT is clicked on the components page
Is there any way to run a function when the user clicks on NEXT on the components page?
I want this to do a check on a few things, but the check is only required when certain components are selected.
And how can I make the function STAY on the components page if it's found something wrong (and continue when everything is ok)?
I've got everything else covered... Just not sure on how to call this function (does an .onComponentsPageNext exist for example?), and how I can let it stay there if required.