• Resolved Samin

    (@samin345)


    Hello,

    I need to change my forminator form, so that when a user answers a question (radio-button), it will automatically go to the next page. So without a ”next step” button.
    I found similar topic about it:?
    https://www.ads-software.com/support/topic/radio-button-auto-next-pagination/
    https://www.ads-software.com/support/topic/multi-step-form-without-click-the-next-button-2/

    I have used the following code:

    <?php
    
    add_action( 'wp_footer', 'formi_next', 99 );
    function formi_next() {
    
    	?>
    	<script>
    
    	(function($) {
    
        $(document).ready(function() {
            setTimeout(function() {
                $('.forminator-custom-form').trigger('after.load.forminator');
            }, 100);
    
            $(document).on('after.load.forminator', function(e, form_id) {
    
                let clickable_elements = $('.next-on-click input[type="radio"]');
    
    			$(clickable_elements).click(function(){
    				if( this.checked ) {
    					$('.forminator-button-next').click();
        			}
    			});
    
            });
    
        });
    
    })(jQuery);
    
    </script>
    <?php
    
    }

    also added css class next-on-click on each radio buttons and turned on AJAX loading. Still it doesn’t work.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @samin345

    I hope you’re well today!

    I just visited the page you shared and checked the form there. It did automatically go to next page upon radio selection for me as expected.

    It seems that you managed to get it solved meanwhile, right? Or do you still need some help with it?

    Kind regards,
    Adam

    Plugin Support Kris – WPMU DEV Support

    (@wpmudevsupport13)

    Hi @samin345

    We haven’t heard from you in a while, I’ll go and mark this thread as resolved. If you have any additional questions or require further help, please let us know!

    Kind Regards,
    Kris

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘multi step form without click the next button’ is closed to new replies.