Hi guys,
I’ve been working on a lead form and I’m running into some difficulties.
My form consists of radio buttons and after selecting one, you need to press next in order to get to the next step of the multipage. However, I want the form to automatically go to the next step after someone clicks on an answer.
I tried some thing but didn’t manage to get it working. I ended up with the script below here. Can anyone take a look and see what I’m doing wrong?
After clicking one of the green buttons, it should trigger the blue ‘Next’ button
https://www.solar-selected.com/quotes/
$( “#label” ).click(function() {
$( “#e-form__buttons” ).click;
});
You would use the click function –> click() :
$("#label").click(function() {
$("#e-form__buttons").click();
});
Thanks for replying. Unfortunately it still doesn’t seem to do the trick. The console gives an error that $ is not a function. But replacing it with jQuery doesn’t seem to work either.
Members
Online