Hi all,
Just wondering if there's an easy way to do the above? Our client are looking to have a checkbox at the end of each form page to confirm they've checked the data on that page, and ideally want the form to advance to the next page automatically when the checkbox is checked.
I've tried using .click() on the next button to simulate a user clicking "Next" but it advances to a blank page - I'm guessing there must be some parameter/event that's not being fulfilled? This is what I have so far:
$(document).ready(function(){ $('.checkbox input').on('change', function(){ if ($('.checkbox input').prop('checked')) { $('.cf-next-btn').click(); } }); });
Any ideas would be appreciated!
Thanks, Dan