Mobile app version of vmapp.org
Login or Join
Shelley277

: Form management system - using iframes to serve forms I'm responsible for managing a lot of websites (about 200). Each website has at least one form, mostly even 4-5, as these websites are used

@Shelley277

Posted in: #AdServer #Forms #Iframe

I'm responsible for managing a lot of websites (about 200).
Each website has at least one form, mostly even 4-5, as these websites are used to generate leads.

I'm looking for a way to manage them all from one place.
We already have a nice CRM that handles all the leads, but unfortunately it doesn't offer form generation and management.

The ideal solution will let me design & serve the forms from one centralized locations.
I was also thinking about using a form generator like this one and an ad-server (like Google DoubleClick) to serve the forms, but i'm not sure whether or not this is a prefered way.

Is it a good idea to serve forms via an iframe?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Shelley277

1 Comments

Sorted by latest first Latest Oldest Best

 

@Cugini213

If the websites are on the same web-server then it would be better to embed the form directly into the relevant pages so that less HTTP requests are required to load the page. To manage the code for the contact form from one central location you could have a common folder on your webserver from which a script (perhaps PHP or ASP etc.) could generate the form you as require, and you could simply include this script or the resulting HTML code into the HTTP response on your contact/enquiry form pages for all the 200 or so websites.

If the websites are on different web-servers then you could follow the same principle but you would need to use an iframe to pull the form into your pages as you suggested.

Ad-server solutions are not an appropriate technology for delivering forms into your pages. These solutions are for displaying adverts onto other people's websites and search engines that when clicked on bring interested people to your website.



Edit on 3rd Nov: Example PHP code snippet for this might look like:

<?php
/* If contact form on remote server */
$sContactFormURL = 'http://www.example.com/contact-form.html';

/* If contact form on same server */
$sContactFormURL = '/var/www/www.example.com/contact-form.html';

/* Retrieve HTML and then included it in current page */
$sContactFormHtml = @file_get_contents ( $sContactFormURL );
echo( $sContactFormHtml );
?>

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme