Plugin Ninja Forms Multi Part Forms: How to implement 'Next Step' by click?

The plugin Ninja Forms with the extension Multi Part Forms can be extended in such a way that the “Next Step” button becomes partially superfluous. If there is a field in the form that is activated with a normal click, this can be realized with the following code. In case of multiple selection this is also possible without the script jumping to the next step at the first click.

$(document).ready(function () { 
         $(document).on('click', '.clicky', function(event) {
          event.preventDefault;
          $(".nf-next").click();
      function greet(){
        $(".nf-next").click();
      }
      setTimeout(greet, 500);  
});
Without cookies
This website does not use cookies or tracking. More information can be found in the privacy policy.