Hi Guys
I am trying to work out if there is way to make SmartForms jump to part of a page after Submit I have the form on the bottom of the page and after the user Submits their infromation its shows the message saying thank you etc. The only problem you wouldnt know the message is there as its at the botton of the page was. Its prosblie to return to user back in the same place where was the form nornnly is.
I am using the build it in 'Sample contact form'
Thank you
SmartForms jump to back after Submit
-
- Forum Members
- Posts: 155
- Joined: Thu Aug 20, 2020 10:49 pm
Re: SmartForms jump to back after Submit
Add an anchor where you want it to scroll to, then add javascript in the "Smarty template for the final message to display to the user" field that scrolls to said anchor. If you use CMSExt then you can {js_add} here, but you can also just use inline script tags.
Not getting the answer you need? CMSMS support options
-
- Forum Members
- Posts: 155
- Joined: Thu Aug 20, 2020 10:49 pm
Re: SmartForms jump to back after Submit
Thank you. I found some old java code from formbuilder.