A simple trick to keep your web forms playing nice
Web forms allow you to capture new information about existing and potential customers on your website in a really simple way.
They’re a powerful tool that can be used for anything from growing your email subscription list right through to contact us enquiries and registrations for events and competitions.
Yes they’re versatile, but the best thing is they’re really easy to create in Vision6 and add to your website.
We recommend all our customers put a web form on their website as it’s a great way to grow email subscriptions.
Although it’s easy to add a web form to your website we have found that there can be two challenges people face. The good news? They’re very easy to fix using the solution below.
1. My website is changing how my web form looks
If you’re concerned your web form is displaying incorrectly it could be because the CSS (Cascading Style Sheet) on your website overwrites the web form.
2. I want to make sure my visitors stay on my website
Sometimes after a visitor submits a web form, they’re taken to a ‘Thank You’ page. From this ‘Thank You’ page, the user can click ‘Go Back’, but this returns them to the web form rather than the original website page they were visiting.
The really simple solution
An easy fix for both of these things is to use an <iframe> instead of embedding the web form code. Now before anyone irks at the mention of HTML code, let me say this is really easy to do.
When you create a web form in Vision6 you have the option to add the form to your website.
From here instead of taking the embedding code (item 1 below), simply take the web form URL (item 2 below).
Now all you need to do is insert the URL (item 2 above) it into your website like this:
<iframe src=”http://www.webformURL.com” h=”600″ w=”550″>
The height (h) and width (w) can be customised to fit your web form.
It’s that easy! This will ensure your web form displays exactly how you want it to on your website.
It also means that when a customer submits the web form, the ‘Thank You’ page will display within the iframe on your website. So customers won’t leave your original page.
Need extra help with coding?
If you need a hand with coding the iframe remember we are always available to help, the best way to contact us for support is via the Knowledge Centre.