[Pro] Contact form problems

I am having problems with creating a form. See: http://www.tobesite.com THe form does not transmit and also has text iin the form areas. I have Go-Daddy which says that they support PHP 4.0 and 5.0. What am I doing wrong?

Thanks,
Tobé


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

As you are using php the first thing you should do is change the index page from .html to .php

When you have done that, upload the site and then try using the form again.

HTH


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

The next step would be to give your form elements relative names, such as ‘name’ rather than ‘item5’, ‘phone’ rather than ‘item9’, ‘email’ rather than ‘item10’, ‘ground_anchor_18’ (without quotes) rather than ‘item11’ etc. etc.

The above can be set by selecting the form element and then giving it a name in the selected elements inspector ‘Name’ field.

The form needs to know where to go and hot to get there, so the forms action would need an address or a destination, your forms action has no content:

You need to select POST for the method, this is not set in your form.

The action and method can be set using the ‘Page > Form set up’ menu for that form.

HTH


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

On 1 May 2009, 2:07 pm, Mike B wrote:

As you are using php the first thing you should do is change the index page from .html to .php

BTW, I say the above only because the form that is being used here is on the index.html page, if it wasn’t then you would not need to change the index.html to index.php… again, this is only because that is your form page, so if the form was names myform.html then that is what you would change to myform.php ‘in your case’.

Just to stop any confusion so people don’t start changing their index.html to index.php when their form doesn’t work :slight_smile:


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

Thanks, I will work on this.

And, yes, this is part of another site.

Tobee
Tobé Saskor
Websites and Photography by Tobé
59 Deerwood Lane
Pinehurst, NC 28374
Tel: 910-215-8818
Email: email@hidden

Websites:
www.bytobe.com (photo)
www.WebsitesByTobe.com
www.WebsitesForHorses.com

On May 1, 2009, at 10:36 AM, Mike B wrote:

On 1 May 2009, 2:07 pm, Mike B wrote:

As you are using php the first thing you should do is change the
index page from .html to .php

BTW, I say the above only because the form that is being used here
is on the index.html page, if it wasn’t then you would not need to
change the index.html to index.php… again, this is only because
that is your form page, so if the form was names myform.html then
that is what you would change to myform.php ‘in your case’.

Just to stop any confusion so people don’t start changing their
index.html to index.php when their form doesn’t work :slight_smile:


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

How did you create this form Tobe - did you use one of the actions or Forms to Go or get some code from somewhere because it appears that the form stuff either isn’t defined or in the wrong place.

GoDaddy have their own form handlers so the form action should be set to post to theirformhandler.php, whatever it is called.

There was a discussion here in the past couple of weeks about this - I will try and find it and post again.

David


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

Have a look at this thread Tobe

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

D


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

I did this following the PHP form in the Freeway4Pro instruction book
and the freeway actions “PHP Feedback Form”.

Tobé Saskor
Websites and Photography by Tobé
59 Deerwood Lane
Pinehurst, NC 28374
Tel: 910-215-8818
Email: email@hidden

Websites:
www.bytobe.com (photo)
www.WebsitesByTobe.com
www.WebsitesForHorses.com

On May 1, 2009, at 12:42 PM, DeltaDave wrote:

How did you create this form Tobe - did you use one of the actions
or Forms to Go or get some code from somewhere because it appears
that the form stuff either isn’t defined or in the wrong place.

GoDaddy have their own form handlers so the form action should be
set to post to theirformhandler.php, whatever it is called.

There was a discussion here in the past couple of weeks about this -
I will try and find it and post again.

David


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

Then thats where the problem lies as you will see from the thread I mention Tim’s PHP FBF action doesn’t work on GoDaddy’s servers and the workround is to use their own webformmailer.php or the alternate gdform.php handler

Or, as Carla is going to do, move to a less restrictive hosting company.

David


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

On 1 May 2009, 11:22 pm, DeltaDave wrote:

Then thats where the problem lies as you will see …

Hang on… this is not where the problem lies… at least not at the moment. It might be a problem in the future but the problem at the moment is that the form is not constructed properly, until it is constructed properly it isn’t going to work on any server.

I think you should construct the form properly and then see if it does or doesn’t work. Other form handlers work on Go Daddy so that means the PHP Feedback Action should also… if there is a problem with the PHP Feedback Form action on Go Daddy the only thing I can think of that might be is the action is set to the script, while form handlers that are included into the form seem to work there but try and get the form constructed properly and then see how you go and how to proceed.

HTH


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

OK - I have corrected everything, I think. This is going to be part
of another site but am sending it up by itself until we figure this
all out. The form is now clean and I can type into it. However, it
does come back to me. http://www.tobesite.com

Tobé Saskor
Websites and Photography by Tobé
59 Deerwood Lane
Pinehurst, NC 28374
Tel: 910-215-8818
Email: email@hidden

Websites:
www.bytobe.com (photo)
www.WebsitesByTobe.com
www.WebsitesForHorses.com

On May 2, 2009, at 3:34 AM, Mike B wrote:

On 1 May 2009, 11:22 pm, DeltaDave wrote:

Then thats where the problem lies as you will see …

Hang on… this is not where the problem lies… at least not at the
moment. It might be a problem in the future but the problem at the
moment is that the form is not constructed properly, until it is
constructed properly it isn’t going to work on any server.

I think you should construct the form properly and then see if it
does or doesn’t work. Other form handlers work on Go Daddy so that
means the PHP Feedback Action should also… if there is a problem
with the PHP Feedback Form action on Go Daddy the only thing I can
think of that might be is the action is set to the script, while
form handlers that are included into the form seem to work there but
try and get the form constructed properly and then see how you go
and how to proceed.

HTH


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

No it’s still not right, you still haven’t made the changes I mentioned with the form elements:

You have the form action tag content as:
Placing the text ‘form action’ as the forms action will not do anything, this needs to be an address to with the form or the form handling script, depends on what you are using as the form handler (form handling script or actions). You will need to look that bit up in the read me of the handler script and set it to what it dictates.

You haven’t changed the form element name values, they still read as ‘Item7’, ‘Item…’ etc. as I mentioned before these (at least the email field) will need to be named correctly relative to the form handling script, generally: email is used for the Email field.

The naming of the form elements is done by selecting a form element and then entering it’s name in the FW item inspector ‘Name’ field.

The check boxes do not have any value entered, when you name these as other form element items you need to also give each check box a relative value in the FW inspector ‘Value’ field, again you need to select the check box and then enter this in the FW inspector.

Now while on the check boxes, for your needs you should use radio buttons and not check boxes so best to change them, give * both the radio buttons * the name of ‘loading_dock’ (without quotes), then one a ‘Value’ of yes and the other a value of no (relative to the Yes and No the user sees) then when the form is sent you will be told yes or no for that selection.

HTH


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

What do I put in the Action section (under POST) Is this where I put
the email address for the complelted form?

Tobé Saskor
Websites and Photography by Tobé
59 Deerwood Lane
Pinehurst, NC 28374
Tel: 910-215-8818
Email: email@hidden

Websites:
www.bytobe.com (photo)
www.WebsitesByTobe.com
www.WebsitesForHorses.com

On May 2, 2009, at 3:34 AM, Mike B wrote:

On 1 May 2009, 11:22 pm, DeltaDave wrote:

Then thats where the problem lies as you will see …

Hang on… this is not where the problem lies… at least not at the
moment. It might be a problem in the future but the problem at the
moment is that the form is not constructed properly, until it is
constructed properly it isn’t going to work on any server.

I think you should construct the form properly and then see if it
does or doesn’t work. Other form handlers work on Go Daddy so that
means the PHP Feedback Action should also… if there is a problem
with the PHP Feedback Form action on Go Daddy the only thing I can
think of that might be is the action is set to the script, while
form handlers that are included into the form seem to work there but
try and get the form constructed properly and then see how you go
and how to proceed.

HTH


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 the Action under Post you are supposed to put in the name of the form processor, which could be anything, depending on your webhost or whether or not you are using Forms To Go, etc. For example, it might be something like formmail.php or webformmailer.php. If you are using the form processor that is provided by your server, you need to find out the name of it. If you are creating your own with Forms To Go, then it’s whatever you name it yourself.

But, like Mike is saying, no form is going to work when you don’t even have the email field named “email.” Your email field is called “item10.” No form processor is going to recognize that. You need to go into your inspector and name that field for sure, if not all of them, so they are recognizable.


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

No. The Action section needs to be a path to the script which will
process the form submission. So if you have uploaded formhandler.php
into your Web root, in the same folder as contact.html, then you
would enter formhandler.php in the Action field.

If your form and handler are in separate folders, or especially if you
are using a CGI for this step, then you would need to enter a
different path to that folder. This path may either be root-relative
(starting at the top, in the folder where you put your main
index.html) or relative to the current page (using the …/ path
traversal technique, like Freeway does, to move up a directory without
knowing the name of the enclosing folder).

Walter

On May 5, 2009, at 9:41 AM, Tobé Saskor wrote:

What do I put in the Action section (under POST) Is this where I
put the email address for the complelted form?

Tobé Saskor
Websites and Photography by Tobé
59 Deerwood Lane
Pinehurst, NC 28374
Tel: 910-215-8818
Email: email@hidden

Websites:
www.bytobe.com (photo)
www.WebsitesByTobe.com
www.WebsitesForHorses.com

On May 2, 2009, at 3:34 AM, Mike B wrote:

On 1 May 2009, 11:22 pm, DeltaDave wrote:

Then thats where the problem lies as you will see …

Hang on… this is not where the problem lies… at least not at
the moment. It might be a problem in the future but the problem at
the moment is that the form is not constructed properly, until it
is constructed properly it isn’t going to work on any server.

I think you should construct the form properly and then see if it
does or doesn’t work. Other form handlers work on Go Daddy so that
means the PHP Feedback Action should also… if there is a problem
with the PHP Feedback Form action on Go Daddy the only thing I can
think of that might be is the action is set to the script, while
form handlers that are included into the form seem to work there
but try and get the form constructed properly and then see how you
go and how to proceed.

HTH


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


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

This is beyond my limited intelligence evidently. Can you be ultra
specific?

Tobé Saskor
Websites and Photography by Tobé
59 Deerwood Lane
Pinehurst, NC 28374
Tel: 910-215-8818
Email: email@hidden

Websites:
www.bytobe.com (photo)
www.WebsitesByTobe.com
www.WebsitesForHorses.com

On May 5, 2009, at 10:14 AM, Robin Stark wrote:

In the Action under Post you are supposed to put in the name of the
form processor, which could be anything, depending on your webhost
or whether or not you are using Forms To Go, etc. For example, it
might be something like formmail.php or webformmailer.php. If you
are using the form processor that is provided by your server, you
need to find out the name of it. If you are creating your own with
Forms To Go, then it’s whatever you name it yourself.

But, like Mike is saying, no form is going to work when you don’t
even have the email field named “email.” Your email field is called
“item10.” No form processor is going to recognize that. You need to
go into your inspector and name that field for sure, if not all of
them, so they are recognizable.


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

When you create a form, you must have a matching form processor to do
something with the contents of that form. The publicly accessible
address (URL) of that processor is the value that you need to put in
the Action field of the Form Setup dialog.

A form processor is a simple computer program, run on the Web server,
which accepts a limited range of input values and generates output in
one or more formats (i.e. sends you an e-mail, logs the input in a
database, sends an auto-reply, whatever).

One of the oldest form processors around is called formail.cgi or
formail.pl. This processor accepts configuration flags by means of
hidden form elements in the form that posts to it. This makes it a
favorite of ISPs (one processor for all 1,000 sites on the same server
as you) and spammers (since they can use it to send mail pretty much
anywhere by spoofing your form on their machine).

There are lots of other ways to handle this part of the process, both
generic and specific. I usually write a custom handler for each form,
since that way I can make it do precisely what I need. Other people
swear by Forms To Go, which can write a custom hander given a properly-
formatted form page (HTML) as input.

No matter how you crack this nut, it is still programming on the
inside. How much of the programming problem is exposed to you is
determined by what sort of solution you choose. But in the end,
creating a form on a Web site is opening a hole in your site
(figuratively speaking) and allowing the outside world in. The more
you understand what’s happening on the server side when someone
presses Submit, the more you will be able to assess your risk and
tailor your service to meet your needs (and not those of the spammers
and evil-doers of the world).

Walter

On May 5, 2009, at 11:46 AM, Tobé Saskor wrote:

This is beyond my limited intelligence evidently. Can you be ultra
specific?


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

Tobe,

you mentioned you where using the PHP Feedback Form so it might make
life much easier for you to follow the tutorials for the PHP Feedback
Form here:
http://www.freewayactions.com/product.php?id=019

This link shows you how to set the names in the ‘Name’ field for your
form elements and gives you a step by step list of how to add the PHP
Feedback Form to your Freeway form:

I just looked at the above and it all seems very straightforward to
follow, I see no mention of anything about the form action URL on
either of the above pages so I guess the action must set this for you.

HTH

On May 5, 2009, at 5:46 PM, Tobé Saskor wrote:

This is beyond my limited intelligence evidently. Can you be ultra
specific?

Tobé Saskor
Websites and Photography by Tobé
59 Deerwood Lane
Pinehurst, NC 28374
Tel: 910-215-8818
Email: email@hidden

Websites:
www.bytobe.com (photo)
www.WebsitesByTobe.com
www.WebsitesForHorses.com

On May 5, 2009, at 10:14 AM, Robin Stark wrote:

In the Action under Post you are supposed to put in the name of the
form processor, which could be anything, depending on your webhost
or whether or not you are using Forms To Go, etc. For example, it
might be something like formmail.php or webformmailer.php. If you
are using the form processor that is provided by your server, you
need to find out the name of it. If you are creating your own with
Forms To Go, then it’s whatever you name it yourself.

But, like Mike is saying, no form is going to work when you don’t
even have the email field named “email.” Your email field is called
“item10.” No form processor is going to recognize that. You need to
go into your inspector and name that field for sure, if not all of
them, so they are recognizable.


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


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

Thanks for jumping in on this Mike. Yes, the action handles this for you. It not
only creates the form processing PHP file (-go.php) but links the form
to it automatically. This leaves the user to just lay out the form how they want
without having to worry about the technicalities of form processing.
All the best,
Tim.

Quoting Mike B email@hidden:

I just looked at the above and it all seems very straightforward to
follow, I see no mention of anything about the form action URL on
either of the above pages so I guess the action must set this for you.


Extend Freeway the way you want with FreewayActions.com
http://www.freewayactions.com


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