Forms

Hi all,

I’m creating my first form in FW Pro 5, I want to capture an email address for sending out e-newsletters. I have created a HTML ‘text field’ box and underneath that a ‘submit button’.
That to me is the easy bit.

How or where can I get a form processing script? Is this a standard thing or does it have to be written specifically for my site?

Look forward to comments.

rgds

Jim


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi,

there are a couple of options out there, the one I have is easiForm
which will do the form processing side for you if you have PHP on the
server and that it is ioncube friendly.

http://www.easibase.com/freeway/freeway_form.php

Mike

On Oct 16, 2008, at 3:04 PM, lfcredbird7 wrote:

Hi all,

I’m creating my first form in FW Pro 5, I want to capture an email
address for sending out e-newsletters. I have created a HTML ‘text
field’ box and underneath that a ‘submit button’.
That to me is the easy bit.

How or where can I get a form processing script? Is this a standard
thing or does it have to be written specifically for my site?

Look forward to comments.

rgds

Jim


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

One place to look would be your ISP or hosting provider. Most hosts
have some form of CGI (FormMail.pl is a popular one) that you can use
to send the contents of a form to you (or some other nominated
address) by e-mail. There are also literally thousands of such
scripts available in all of the popular server-side alphabet soup
languages: Ruby, PHP, ASP, JSP, ColdFusion, etc.

Then there’s Tim Plumb’s PHP Feedback Form Action, available at
http://freewayactions.com

You could roll your own, like this:

Make a text file, call it mail.php, and paste the following in it
<?php
$email = trim(strip_tags($_POST['email'])) . "nn";
$e = 'your_email_address';
mail($e,'New Request',$email,'From: your_address','-f' . $e);
header('Content-type: text/html; charset=utf-8');
print 'Thanks!';
?>
Upload that file into your web server space, alongside your other files

Change ‘your_email_address’ above to your actual address. Post your
form to mail.php, and you should see “Thanks!” on the screen and you
should get an e-mail in your in-box, apparently from you, with the e-
mail address that was entered as the body of the message.

More advanced systems would screen the e-mail to make sure it was
well-formed, and would allow you to add it to a database on the
server. But this should get you started.

Walter

On Oct 16, 2008, at 9:04 AM, lfcredbird7 wrote:

Hi all,

I’m creating my first form in FW Pro 5, I want to capture an email
address for sending out e-newsletters. I have created a HTML ‘text
field’ box and underneath that a ‘submit button’.
That to me is the easy bit.

How or where can I get a form processing script? Is this a standard
thing or does it have to be written specifically for my site?

Look forward to comments.

rgds

Jim


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

In my example above, the only part that should be in your mail.php file should be the part that begins with <?php and ends with ?>, not the instructions directly above and below inside of the code block. Also, this assumes that your form field is named email in Freeway, if not, adjust as appropriate.

Walter


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Don’t forget “Forms To Go” with Screen-Cast here:

http://freewaytalk.net/thread/view/41260


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options