Calling validation function from Babysteps plugin

Calling validation function from Babysteps plugin

Hi, I'm having a hard time working out what I'm doing wrong with Babysteps, I hope someone can provide me with an answer as no one responding on the plugin page.

Using the Babysteps plugin, if I try to bind a custom function as my validator, for example:
step1.bindStep('#step2', { nextValidator: custom_validator });

All works fine, but when I try to pass the current step as a parameter into the custom_validator (please note I have modified the function to accept the parameter), the page starts breaking. For example:
step1.bindStep('#step2', { nextValidator: custom_validator('step1') });

I need the current step to be passed into the function, so I can traverse the DOM and find the various form questions in that particular div and validate them.

I'm new to Javascript/Jquery and this plugin has helped a lot in making a long form easy to digest but I can't find a way around this problem, any experienced jq'ers out there I hope you can help or advise on a better way.