[Pro] PHP Feedback Form

Have a form on my page that I thought was working but now is not. When I send it just refreshes the page with a blank form.
It is not showing my error page or success page. Any ideas as to what may be happening.

Billy

http://millay.org/contact.php


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

There is no form tag on that page. Have you used the No Form Action to remove the main page form, in preparation for using the Multiple Form Action to allow more than one form on the same page? Or does WebYep remove the form from the page?

First thing I would try is to hold down the Control key and choose the hidden option Publish Everything in the File menu in Freeway. Then upload and see if the form works again.

If that doesn’t do the trick, then ask yourself what you might have done recently to the page that could have impacted the form tag. What changes have you made since it last worked?

Walter

On Jan 10, 2014, at 2:47 PM, billy kimmel wrote:

Have a form on my page that I thought was working but now is not. When I send it just refreshes the page with a blank form.
It is not showing my error page or success page. Any ideas as to what may be happening.

Billy

http://millay.org/contact.php


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


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

Hi Billy,
I can see in the source code for the page that the Action attribute on the form hasn’t been set which is why the the page simply reloads. The PHP Feedback Form Action can sometimes do this if the required success and error pages haven’t been set. Are you sure you are using the PHP Feedback Form Action as it shouldn’t be adding the name attribute I can see in the code?
Regards,
Tim.

On 10 Jan 2014, at 19:47, billy kimmel wrote:

Have a form on my page that I thought was working but now is not. When I send it just refreshes the page with a blank form.
It is not showing my error page or success page. Any ideas as to what may be happening.


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

Tim, where are you seeing a form tag? I just checked a second time, opened the raw source in Safari Web Inspector, and searched for <form – it’s not there, according to my browser.

Walter

On Jan 10, 2014, at 2:58 PM, Tim Plumb wrote:

Hi Billy,
I can see in the source code for the page that the Action attribute on the form hasn’t been set which is why the the page simply reloads. The PHP Feedback Form Action can sometimes do this if the required success and error pages haven’t been set. Are you sure you are using the PHP Feedback Form Action as it shouldn’t be adding the name attribute I can see in the code?
Regards,
Tim.

On 10 Jan 2014, at 19:47, billy kimmel wrote:

Have a form on my page that I thought was working but now is not. When I send it just refreshes the page with a blank form.
It is not showing my error page or success page. Any ideas as to what may be happening.


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


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

It’s there if you search the DOM, so it must be being injected by JavaScript. But strange that it’s entirely missing from the actual page source code.

Walter

On Jan 10, 2014, at 3:01 PM, Walter Lee Davis wrote:

Tim, where are you seeing a form tag? I just checked a second time, opened the raw source in Safari Web Inspector, and searched for <form – it’s not there, according to my browser.

Walter

On Jan 10, 2014, at 2:58 PM, Tim Plumb wrote:

Hi Billy,
I can see in the source code for the page that the Action attribute on the form hasn’t been set which is why the the page simply reloads. The PHP Feedback Form Action can sometimes do this if the required success and error pages haven’t been set. Are you sure you are using the PHP Feedback Form Action as it shouldn’t be adding the name attribute I can see in the code?
Regards,
Tim.

On 10 Jan 2014, at 19:47, billy kimmel wrote:

Have a form on my page that I thought was working but now is not. When I send it just refreshes the page with a blank form.
It is not showing my error page or success page. Any ideas as to what may be happening.


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


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


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

Hi Walter,
Right here;
http://millay.org/contact.php
Line 401;

Regards, Tim.

On 10 Jan 2014, at 20:01, Walter Lee Davis wrote:

Tim, where are you seeing a form tag? I just checked a second time, opened the raw source in Safari Web Inspector, and searched for <form – it’s not there, according to my browser.


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

Odd. I’ve checked that page source in both Safari and Firefox and the form tags both show up as expected;
http://millay.org/contact.php
Regards,
Tim.

On 10 Jan 2014, at 20:03, Walter Lee Davis wrote:

It’s there if you search the DOM, so it must be being injected by JavaScript. But strange that it’s entirely missing from the actual page source code.


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

Switch your browser to Source Code, and search for <form in the Inspector. It’s seriously not there. Switch back to the DOM, and there it is.

Walter

On Jan 10, 2014, at 3:05 PM, Tim Plumb wrote:

Hi Walter,
Right here;
http://millay.org/contact.php
Line 401;

Regards, Tim.

On 10 Jan 2014, at 20:01, Walter Lee Davis wrote:

Tim, where are you seeing a form tag? I just checked a second time, opened the raw source in Safari Web Inspector, and searched for <form – it’s not there, according to my browser.


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


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

Something must be up with Safari here. I copied and pasted the source into TextMate, and it is there on line 401. But Safari can’t ‘see’ it with its search engine, even though I can see it in the Inspector once I look to that line number.

Walter

On Jan 10, 2014, at 3:17 PM, Walter Lee Davis wrote:

Switch your browser to Source Code, and search for <form in the Inspector. It’s seriously not there. Switch back to the DOM, and there it is.

Walter

On Jan 10, 2014, at 3:05 PM, Tim Plumb wrote:

Hi Walter,
Right here;
http://millay.org/contact.php
Line 401;

Regards, Tim.

On 10 Jan 2014, at 20:01, Walter Lee Davis wrote:

Tim, where are you seeing a form tag? I just checked a second time, opened the raw source in Safari Web Inspector, and searched for <form – it’s not there, according to my browser.


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


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


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

The weird thing is that my client said is was working before. I haven’t touched this site for months. I’m gonna try and see if this works in chrome and Firefox.

Billy


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

Ok so no go in Chrome or FireFox. I don’t have the “No Form” action applied anywhere. I have the “Multiple Form” action applied to both the form and the text field for the site search.
On the page itself is Web Yep ini, Web Yep Menu Styler, Web Yep SEO, Protaculous 2, PHP Feedback Form, External Style Sheet. I also re-updated my PHP Feedback form action. No mark up on the page either.

Billy


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

Tim, can you explain what you mean by the name attribute being added to the page? What I have is my name field id is name. The text field name for that field is also name. I have a second name field called name 2 for the last name, could this be the problem?

Billy


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

Hi Billy,
Do you have the recipient and success and error sections set in the Action palette OK? If so can you preview the page in your local web browser and search for ‘<form’ (without the quotes). You should find the Simple Site Search form (ignore that) as well as the form tag that the Feedback Form Action has created. This should say something like . If it doesn’t or the action part of the form tag is empty them we’re all in trouble. (Only kidding… but something is messin’ with the page).
Regards,
Tim.

On 10 Jan 2014, at 20:42, billy kimmel wrote:

PHP Feedback Form


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

Hi Billy,
What I find odd about your form is that the code looks like this;

I’m not sure how that name attribute (name=“contact”) got in there as the PHP Feedback Form Action shouldn’t be putting it in.
Regards,
Tim.

On 10 Jan 2014, at 20:50, billy kimmel wrote:

Tim, can you explain what you mean by the name attribute being added to the page? What I have is my name field id is name. The text field name for that field is also name. I have a second name field called name 2 for the last name, could this be the problem?


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

OK. The penny has finally dropped. You have the Multiple Form Action applied to the feedback form which is adding the name attribute and destroying the default link to the -go.php file. You will need to add the path to the -go.php the PHP Feedback Form Action creates into the ‘action’ field in the Multiple Forms Action that is applied to the feedback form. (I could have phrased that better!)

So if the -go.php file is in your Resources folder you’ll need to add the relative path top this in the Action.
Regards,
Tim.

On 10 Jan 2014, at 20:42, billy kimmel wrote:

Ok so no go in Chrome or FireFox. I don’t have the “No Form” action applied anywhere. I have the “Multiple Form” action applied to both the form and the text field for the site search.
On the page itself is Web Yep ini, Web Yep Menu Styler, Web Yep SEO, Protaculous 2, PHP Feedback Form, External Style Sheet. I also re-updated my PHP Feedback form action. No mark up on the page either.


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

I don’t see this file -go.php in my resources folder for the website. I’m looking on the host server and don’t see this. I put this in the Action field of the Action and now I get this:

The requested URL /-go.php was not found on this server.

I’m lost. Not had this issue before.
Please help


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

The file will be named contact-go.php – it takes whatever the .html filename is of your page, cuts off the .html, and replaces it with -go.php. (Sometimes, this file will be “lost” by the Action, and you will end up with contact1-go.php or maybe it’s contact-go1.php.)

Walter

On Jan 10, 2014, at 4:26 PM, billy kimmel wrote:

I don’t see this file -go.php in my resources folder for the website. I’m looking on the host server and don’t see this. I put this in the Action field of the Action and now I get this:

The requested URL /-go.php was not found on this server.

I’m lost. Not had this issue before.
Please help


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


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

Hi Billy,
When you attach the PHP Feedback Form Action to a page it should create a php file names after the page you apply it to. So on your contact.php page you should have a php file somewhere on your Mac called contact-go.php. This is what the Action links to and puts into that (now empty) action attribute on the form tag.

I think the best thing would be to attach the PHP Feedback Form to a container object around your feedback form items rather than the page itself and remove the Multiple Forms Action which I think is stepping on our toes here.

If you want to keep the Multiple Forms Action then you’ll need to add in the name of that -go.php file you found (contact-go.php) and upload this to the web server alongside the html page (I know it has a php extension but whatever) the form is on.
I hope this helps.
Regards,
Tim.

On 10 Jan 2014, at 21:26, billy kimmel wrote:

I don’t see this file -go.php in my resources folder for the website. I’m looking on the host server and don’t see this. I put this in the Action field of the Action and now I get this:

The requested URL /-go.php was not found on this server.

I’m lost. Not had this issue before.
Please help


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

Still no file called contact-go.php Perhaps the PHP form Action should be applied to the form itself instead of the page?


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

No that won’t work because it’s inline.
What is preventing it from creating the go.php file?

Billy


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