Forums

How to automatically scroll the page after form submission

oloccina 04 Feb, 2014
Hello,
on this page http://www.eos-energia-olografica-sistemica.com/risorse/sintonia-radiante-pineale-eos

I have a form which after submission displays some html text (audio file to hear)

the problem I have is that after the form submission the page is being reloaded
and the user find himself again at the top of the page, while the audio file html is displaied
where the form was ( about at half of the page)

I was wondering if there is any trick to automatically scroll the page
to the form after the form submission, or to laod the hidden html with ajax instead that reloading the ntire page

thank you

Nic
GreyHead 04 Feb, 2014
Hi Nic,

Please see this FAQ there is some code there that con probably be adapted to do what you need.

Bob
oloccina 04 Feb, 2014
thank you,
I am not a programmer so I don't think I'll be able to adapt that solution to my needs,
but thank you anyway, at least I can show it to someone more expert than me
iron 04 Feb, 2014
oloccina,

Can you give me detail for pop up subscription ? I`d like to same think ? How could you do ?
thanks
iron 04 Feb, 2014
Actually, I want to put the button in article or sidebar ? How can I do that ? because I did not see html code, maybe If I got html code, I paste sidebar. Can you help me ?
Thanks
oloccina 06 Feb, 2014
Hi iron,
I'm afraid I don't understand your question, please try to explain yourself better
GreyHead 08 Feb, 2014
Hi iron,

You can use the ChronoForms module to put the form in a sidebar.

It won't work if you just copy the HTML.

Bob
This topic is locked and no more replies can be posted.