[Pro] how to make a contact form

How do you make a contact form in Freeway pro ?


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

The usual way is with Tim Plumb’s PHP Feedback Form Action. http://www.freewayactions.com/product.php?id=019

Make a form with (at a minimum) three fields: name, email, and message. Those names and what they do are documented at Tim’s site, where you may also download the Action.

It’s very important to use the third tab from the left in the Inspector when naming the fields, though. That’s the cause of most problems with this Action, because it relies on these names to figure out who to send the mail “from” and what the message should be. When you use the Title field (in the first tab of the Inspector) you don’t actually set the name attribute on the form element. You’ll end up with a field with the name set to item42 or something like that, which does nobody any good.

Walter

On Oct 5, 2012, at 10:48 AM, Artivideo wrote:

How do you make a contact form in Freeway pro ?


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

where you may also download the Action.

And an example.

David


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

@waltd In the menues of freeway 5.5 pro I can not find the “PHP feedback form action” item !! Should I download somewhere as plug-in ???

Also the link you are refering to is for an older version of freeway, that is what is said in a pop-up.

Any sugestion how to make the scripts (actions) for the fields and how to send all fields to the email address of the receiver. Maybe you have small documents about it ? Thanks in advance.


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

Should I download somewhere as plug-in ???

http://www.freewayactions.com/Resources/actions/php-feedback-form.zip

Did you download the example http://www.freewayactions.com/Resources/phpfbf-example-fw4xp.zip - it works for FW5 as well.

David


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

There is also a Tutorial video at http://www.softpress.com/video/moment_18_HQ.mov

More videos at http://www.softpress.com/support/tutorials.html

The video does tell you that you need to change your page suffix to .php (rather than .html) but this is not the case.

If you change it to .php then you will NOT be able to preview your form page locally - you will have to upload it first!

So leave it as .html - it will work fine.

D


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

I downloaded the PHP action form plugin and it is now visible in the page menu. I have used it on my contact page where my contact fom is located. I filled on the in the PHP feedbackform the items with the * (errorpage, succespage, email recipient, email title). The “email titel” was default “web site feedback”. Does it matter what is filled in at email title ???

After uploading to my host and using the contact form I always get the error page after submit !!! what am I doing wrong ???


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

If you make a separate error page for each of the possible errors, and label them according to their use, you can debug what is happening on your server. Are you hosted at GoDaddy, by any chance? Once you know at what stage the error is happening, we can better advise you.

Walter

On Oct 6, 2012, at 6:28 AM, Artivideo wrote:

I downloaded the PHP action form plugin and it is now visible in the page menu. I have used it on my contact page where my contact fom is located. I filled on the in the PHP feedbackform the items with the * (errorpage, succespage, email recipient, email title). The “email titel” was default “web site feedback”. Does it matter what is filled in at email title ???

After uploading to my host and using the contact form I always get the error page after submit !!! what am I doing wrong ???


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

After uploading to my host and using the contact form I always get the error page after submit !!! what am I doing wrong ???

And if you can post a link to your page online we can have a look.

David


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

Thanks for all you help. The problem was the smpt port which was wrong. Now it all works. Freeway is much easier than Dreamweaver which I used in the past. However all website design programms I used still suffer from the problem that once you have the site like you want it in safari the alignmemnt changes a little in other browsers like Opera, Firefox, Google Chrome (not to mention when you display it on a different sized monitor which I did not check yet). So I designed it for Safari my browser and an 24" iMac and optimised it a little that is still acceptable in other browser but not so nice as in Safari, but he Apple rocks !!!


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

So I designed it for Safari my browser and an 24” iMac and optimised it a little that is still acceptable in other browser but not so nice as in Safari, but he Apple rocks !!!

Consider using a page size of about 960px wide - with scroll bars etc. in Windoze that equates to about 1024 x ?

Many users have larger monitors these days (pixelwise) but it is a safe size to work from.

D


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

I just tried this on a site I am building and applied it as a page action. After uploading it to the server for testing I was able to send an email and I was taken to the success page correctly.

Moments later the email arrived including the subject and message text, however it doesn’t list the name of the sender or their email address, so I would have no way of replying. Depending on the option chosen inside the action it is either showing as coming from email@hidden or noreply@.

The site is hosted on a VPS running cPanel so I’m not sure where I’m going wrong here or if something needs to be altered in the server configuration. I’m using the Softpress created Ambient them, so the field areas were already present.

Does anybody know what could be causing the problem here?

Thanks

Ashley


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

Without seeing your actual form I am guessing but it is likely that you have not named the ‘name’ and ‘email’ fields correctly.

Select each in turn and look in the inspector under the 3rd Tab to see what is in each of the boxes. Name should be ‘name’ (lower case) and the Email one should be ‘email’ (also lower case). Dont include any apostrophes - just the text.

David


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

Thanks David, Softpress had these written as nameField and emailField, followed by messageField. I can rename nameField to name but when I go to email it’s insisting on calling it email1 and the problem still exists. I’ve just uploaded the page temporarily for you to see at Colour Management Pro PDF e-Book for Photographers

Ashley


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

Actually I’ve just seen that it still brings up the success page even when I fail to include a name or email address from the sender, so something is definitely wrong here.

Ashley


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

OK I found the offending item on the page that was already called email. It was a tiny graphic at the bottom of the page so I renamed that but the other problems still exist. I’ve been watching the video at http://www.softpress.com/video/moment_18_HQ.mov and it’s hard to see what I’m doing wrong, though I’ve kept the page as .html rather than .php

Ashley


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

OK - relook at your fields in the inspector the name and email fields are both item1.

This is what you should see:

D


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

And because the message field is also named as item1 then it overwrites what came before

So if you enter ‘yourname’, ‘youremail(at)yoursite.com’ and ‘this is my message’ then only the last will get through ie ‘this is my message’

So make sure they are all named correctly - name, email and message under the 3rd Tab in the inspector with the field selected.

D


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

Thanks it’s working now and I’ve just verified that everything is correct. For some daft reason I kept filling those details in the first tab. It must be the late nights spent working on the book.

I’ve left the first tab now as it was and everything seems OK like that. It throws up an error message when the fields aren’t properly filled in as it should and the emails are coming through will all the right information.

Thanks again this looks much smarter than a simple email link and hopefully it will cut down on the amount of potential spam as well.

Ashley


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

hopefully it will cut down on the amount of potential spam as well.

Especially if you enable the ‘Add a Spam Trap’ feature in the Advanced options section of the action interface

D


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