$(document).ready(function ($) { $('body .description-form').on( 'change', '.gchoice input[type="radio"]', function () { if ($(this).is(':checked')) { $(this) .closest( '.gform_page:nth-child(1),.gform_page:nth-child(2),.gform_page:nth-child(3)', ) .find('.gform_next_button') .click(); } }, ); });
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter