[Pro] installing a PHP form

Hope someone can help!
I am trying to install forms on my site but have a lot of trouble trying to get the form to work. I have watched the tutorial video several times, followed it step-by-step and read the Freeway manual but the submit button will not submit and then go to the thank you page or the error page. I checked with ISP and do have PHP, it is PHP 5.3.3

I have had to make up a make-do page temporarily. If it will help, I can give the page where I have made up the form so the source code can be viewed.

Thanks,
Elizabeth


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

Post a link to your page online so that we can see the underlying code. Who is your host?

Note that the tutorial video incorrectly states that your page should end with .php This is NOT the case. It will not affect the way your form works but it will mean that you cannot preview your page in FW or locally. You will have to upload the page first.

Keep the .html file suffix to be able to preview.

David


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

Hi Dave

Thanks so much for your explanation - yes I have been using the .php and had to upload to preview.

The temporary page is http://www.schooldaysmagazine.com/newcontactform.html . Very oddly and I’m delighted to say, that the submit button is working now, but, it is not going to the Thank You page, it’s going to the Search Results page. I have linked it exactly as asked in the Actions window to Error! and Success! pages.

I would also like to know how I can make some fields as required with an asterisk and then if they have not been completed the form is not sent.

My ISP is daily.co.uk

kind regards
Elizabeth

On 25/03/2012, at 10:35 AM, DeltaDave wrote:

Post a link to your page online so that we can see the underlying code. Who is your host?

Note that the tutorial video incorrectly states that your page should end with .php This is NOT the case. It will not affect the way your form works but it will mean that you cannot preview your page in FW or locally. You will have to upload the page first.

Keep the .html file suffix to be able to preview.

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

OK

2 things

1st remove the search field from the contact page - there is a clash here.

2nd Use one field for the name ie not separate 1st and last names and in the 3rd tab of the inspector make sure that the Name field has name in it - case sensitive. Also for the email field change what you have in the inspector under Name from email address to just email - again case sensitive.

See if that sorts the sending problem.

David


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

Thanks Dave,

How do I disconnect the search from the pages with contact forms?

I’ve made the other changes in the meantime.

kind regards
Elizabeth

On 25/03/2012, at 10:52 AM, DeltaDave wrote:

OK

2 things

1st remove the search field from the contact page - there is a clash here.

2nd Use one field for the name ie not separate 1st and last names and in the 3rd tab of the inspector make sure that the Name field has name in it - case sensitive. Also for the email field change what you have in the inspector under Name from email address to just email - again case sensitive.

See if that sorts the sending problem.

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

Just delete the Search field and search button from the page

D


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

You have the ‘Name’ for the name field as Name - it should be lower case - name

Once you have deleted the Search field and search button from the page, uploaded and tested then we will see about adding it back in - that is if you particularly want to have the search facility on that page.

The reason for this not working is likely to be because this creates 2 forms on the same page. 1 for the search and 1 for the form submission. They dont like to work together.

You could try to apply the Multiple Form Action to the search text field, or group your search text field and search button and apply the Action to that.

http://www.actionsforge.com/projects/view/24-multiple-form-suite

But concentrate on getting the form working first.

D


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

Hi Dave

I have made that change now - it’s uploading. I’ve also found the remove site search from the page actions and did the same with the Error! and Success! pages. I checked it again, and before I made the Name to name change it still kept going to the search results page.

kind regards
Elizabeth

On 25/03/2012, at 11:22 AM, DeltaDave wrote:

You have the ‘Name’ for the name field as Name - it should be lower case - name

Once you have deleted the Search field and search button from the page, uploaded and tested then we will see about adding it back in - that is if you particularly want to have the search facility on that page.

The reason for this not working is likely to be because this creates 2 forms on the same page. 1 for the search and 1 for the form submission. They dont like to work together.

You could try to apply the Multiple Form Action to the search text field, or group your search text field and search button and apply the Action to that.

http://www.actionsforge.com/projects/view/24-multiple-form-suite

But concentrate on getting the form working first.

D


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

still not working!

kind regards
Elizabeth

On 25/03/2012, at 11:22 AM, DeltaDave wrote:

You have the ‘Name’ for the name field as Name - it should be lower case - name

Once you have deleted the Search field and search button from the page, uploaded and tested then we will see about adding it back in - that is if you particularly want to have the search facility on that page.

The reason for this not working is likely to be because this creates 2 forms on the same page. 1 for the search and 1 for the form submission. They dont like to work together.

You could try to apply the Multiple Form Action to the search text field, or group your search text field and search button and apply the Action to that.

http://www.actionsforge.com/projects/view/24-multiple-form-suite

But concentrate on getting the form working first.

D


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

You still have the site search on there!

D


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

hmmm, strange because it’s showing up in the Actions page - any suggestions?

I’ve also removed the site search from the other pages - Successful! and Error!

kind regards
Elizabeth

On 25/03/2012, at 11:35 AM, DeltaDave wrote:

You still have the site search on there!

D


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

It is these 2 items you want to remove from /newcontactform.html

Where have you applied the PHPFF action - have you added it as a page action. Page>Page Actions>PHPFF or did you select an item on your page and add it a Item>Actions>PHPFF

I would select the container that holds your form - item8 - and add it to that using Item>Actions>PHPFF

D


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