RSVP form

3 posts by 3 authors in: Forums > CMS Builder
Last Post: February 4, 2010   (RSS)

Re: [zickey] RSVP form

By gkornbluth - February 3, 2010 - edited: February 3, 2010

Hi Zickey,

You might want to look at this post, http://www.interactivetools.com/iforum/Products_C2/CMS_Builder_F35/P67790 down near the bottom of the thread.

However, I've been using the free phpfmg forms generator program http://phpfmg.sourceforge.net/ to collect that kind of feedback because it incorporates captcha, allows uploads (which are attached to the generated e-mails containing the form data and also stored on your server) and creates a comma delimited file of all the form data received that can be used in Excel.

It's not a perfect solution but it's fairly flexible and easy to use once you get the hang of the changes required to meet your needs.

Here's an excerpt from my CMSB Cookbook thecmsbcookbook.com that describes some of the changes.

Hope it helps,

Jerry Kornbluth

ANOTHER (FREE) PHP FORMS GENERATOR THAT ALLOWS ATTACHMENTS

For those of you that are looking for an easy to use and very flexible PHP based forms generator, with lots of sophistication, you might want to look at the Forms Generator put together as a sourceforge project by Raymond Leung. http://phpfmg.sourceforge.net/

If you’re going to insert your form into your page using an iframe here are some hints to effective implementation.

In IE (even the latest version IE8) if you want your page background to show through an iframe, you’ll need to add allowtransparency=”true” to the iframe tag:

<iframe src="http://www.jkwebdesigns.com/vanishingflorida/contact/contactform.php" width="450" height="425" frameborder="0" Allowtransparency="true">
</iframe>


And you’ll need to add background-color: transparent; to the body css of the file you’re including in the iframe. (in the case of formmail-maker, you'll find the css code in form.lib.php. See below.).

If you want to change the color of the descriptive text (to white) or the submit button in your form (to light blue), you'll need to make some changes as well.

For this form generator, here’s the location of the code that you’ll need to change in the form.lib.php file:

Search for:

onClick="document.getElementById('phpfmg_captcha_image'

for the captcha image reload text color, change the color to:

style="color:#ffffff;"

Search for:

body, .form_field, .form_required

Change the form descriptive text color and set the background-color to transparent. (Transparent is Important for IE)

body, .form_field, .form_required, .form_description, .form_button{
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 13px;
color : #ffffff;
background-color: transparent;
}


Search for the submit button background color: .form_button{
width: 80px;
height: 28px;

And add the background color

.form_button{
width: 80px;
height: 28px;
background-color:#0099FF;
}


One Caveat: If you modify the form through the on-line interface and download the files again, you’ll have to make these changes again. This goes for the PayPal donation ID required to remove the copyright link as well.

ALSO… Based on some confusion about how captcha security works among people who were filling out the form, I made one change that you might want to include in the generator code.

In FORM.PHP Search for:

<div class='field_block' id='phpfmg_captcha_div'>

Change the entire <div> to:

<div class='field_block' id='phpfmg_captcha_div'>
<label class='form_field'>Security Code:<label class='form_required' >*</label><br/><b>Copy The 4 Characters Into The Empty Box Below</b></label> <br /> <br><?php phpfmg_show_captcha(); ?>
</div>

The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

Re: [zickey] RSVP form

By zip222 - February 4, 2010

A few possibilities...

Wufoo
http://www.wufoo.com

Machform by
http://www.appnitro.com/

Jotform
http://jotform.com/