0

I have got a webform in a iframe and its quite long when a customer fills the details and clicks submit they just see a white screen because the page has been scrolled down due to the form been very long and they have to scroll back up to see the confirmation message.is there anyway when they click submit the scroll resets?

1 Answer 1

1

you can use this js code

 $('.page-node-webform #edit-actions #edit-save').click(function() {

                return confirm('Are you sure?');

            });

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.