[Pro] PHP Feedback Form Action

I followed all the instructions for building a feedback form, and all looks well on the screen.
However, when I go to preview, the form page shows nothing but the html code – a full page of html code, and no images.
When I switch back to page, everything looks fine.
What did I do wrong?
Thanks.


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

You didn’t do anything wrong per se. You are seeing the normal
behavior for Freeway (and WebKit, thus also Safari) when viewing files
that don’t end in .html.

If you are using the PHP Feedback Form Action, then there’s no need to
set the form page filename to someform.php – the Action works fine
with pages that end in .html It writes the form handler separately, so
the page doesn’t need to have any code in it in order to work as
expected.

If however you are using my similarly-named PHP Form Action, then you
do need to change the file extension to .php, and you also have to
write a form handler yourself. Check to be sure which one you’ve
applied.

Walter

On Dec 23, 2010, at 12:09 PM, Kieran McAuliffe wrote:

I followed all the instructions for building a feedback form, and
all looks well on the screen.
However, when I go to preview, the form page shows nothing but the
html code – a full page of html code, and no images.
When I switch back to page, everything looks fine.
What did I do wrong?
Thanks.


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

Yes - in the recent Screencast on the subject ‘Easy Feedback Forms’ it does WRONGLY state that the page extension should be changed to .php

As Walter has said the form handler (the php part) is created automagically by the action and does have the .php extension.

David


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

On 23 Dec 2010, 11:50 pm, DeltaDave wrote:

Yes - in the recent Screencast on the subject ‘Easy Feedback Forms’ it does WRONGLY state that the page extension should be changed to .php

As Walter has said the form handler (the php part) is created automagically by the action and does have the .php extension.

David

Glad I searched for this as I didn’t change the extension - and left it as HTML and it worked perfectly. A bit confounded by my “mistake” (according to the screencast) I came looking here.

It wouldn’t be so hard to snip that bit out of the screencast - unless either will work and it’s harmless.


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

unless either will work and it’s harmless.

Yes - both will work but with the .php extension you can only preview your page by uploading to a live server.

David


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