[Pro] PHP Feedback Form Action?

Is there anyway to customize the email that’s generated by the PHP Feedback Form Action? It’s been a while since I’ve hand coded HTML forms, but my recollection is the form is associated with a text file. I just can’t seem to find the one that PHP Feedback Forms uses.


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

I just can’t seem to find the one that PHP Feedback Forms uses.

The action creates it for you and sticks it on the server.

If your page is called contact.html then the PHP file will be called contact-go.php

If you modify it then the action will create a new one like contact-goa.php so if you want to customise it then you will need to deactivate the action and set the form to post to your modified version using Page>Form Setup and Post to yoursite.com/moddedcontact.php - you will also have to FTP/upload the modded version too.

David


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

Wow. That sounds like a lot of work. LOL

I have a few followup questions:

  1. I just went to the form page in my website and I noticed that the PHP Feedback Form action was missing. Is that a one time deal? In other words, once the PHP coding has been created the first time does Freeway automatically remove the action from the form?

  2. How do make a form field required or qualify it in some way?

  3. Is there a third party action that will do all of this? Yes, actions are making me lazy.

Thanks,
Kelly


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

On Jan 11, 2012, at 11:06 AM, Kelly Crossley wrote:

Wow. That sounds like a lot of work. LOL

I have a few followup questions:

  1. I just went to the form page in my website and I noticed that the PHP Feedback Form action was missing. Is that a one time deal? In other words, once the PHP coding has been created the first time does Freeway automatically remove the action from the form?

No, if it’s missing it was removed. Note that Actions applied to elements (like a table containing a form) cannot be seen unless that element is currently selected in the layout. If you look at the Site pane in Page mode, you will see a little cog badge on any Action-ed element, so that’s a good way to figure out where it went.

  1. How do make a form field required or qualify it in some way?

There’s a suite of form validation Actions available at ActionsForge. Please note that like any JavaScript (in-the-browser) validation, the results of pass/fail are completely untrustworthy. A person could simply disable JavaScript in their browser and “pass”.

Walter

  1. Is there a third party action that will do all of this? Yes, actions are making me lazy.

Thanks,
Kelly


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

Note that Actions applied to elements (like a table containing a form) cannot be seen unless that element is currently selected in the layout.

And remember that the PHPFF action can be applied to an element (Div or a table) or to the page itself.

D


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

Greetings and Thank You Walter, i have been coordinating page Titles and File names as you indicated last November, and everything looks waaay nicer.

but now …

below is a chunk of the url my home welcome page is generating. this page is not buried in other folders, it’s sitting just there directly under the FW SIte Folder.

petersheadnets.com/Site%20Folder/index.html

do we have a way to eliminate that unsightly " Site%20Folder " component ?

cheers,
peter v.


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

Wow, that’s very helpful information. I just checked my site and the action was applied to the page, which is why I thought it was missing. Just out of curiosity, what would happen if I had a PHPFF action applied to multiple elements on a page?

On 11 Jan 2012, 5:04 pm, DeltaDave wrote:

Note that Actions applied to elements (like a table containing a form) cannot be seen unless that element is currently selected in the layout.

And remember that the PHPFF action can be applied to an element (Div or a table) or to the page itself.

D


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

The only way that could appear is if you uploaded the entire Site Folder (as generated by Freeway) from your Mac to your server. What you need to do is delete that entire folder from your server, then ether use Freeway’s built-in FTP to upload, or use your manual FTP tool to upload the contents of the Site Folder into your server’s site root folder.

This will allow you to go to your pertersheadnets.com/ site and see index.html without having to type out any of that path.

Walter

On Jan 11, 2012, at 1:33 PM, Peter Vacco wrote:

Greetings and Thank You Walter, i have been coordinating page Titles and File names as you indicated last November, and everything looks waaay nicer.

but now …

below is a chunk of the url my home welcome page is generating. this page is not buried in other folders, it’s sitting just there directly under the FW SIte Folder.

petersheadnets.com/Site%20Folder/index.html

do we have a way to eliminate that unsightly " Site%20Folder " component ?

cheers,
peter v.


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 out of curiosity, what would happen if I had a PHPFF action applied to multiple elements on a page?

Try it and see - I suspect it may fall over but there is a Multiple Forms action that can be applied to individual form elements that may allow them to work independently.

You cannot have 1 form and several instances of the action and expect them all to work though.

D


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

My guess is that it would fail. The Action uses the name of the page as its filename seed, and so you would end up with multiple pagename-go.files (probably named pagename-goa. pagename-gob, etc.) and I can easily see it getting to be a mess. If you need multiple forms on the page, you may have to break out another tool to handle them on the server.

Walter

On Jan 11, 2012, at 2:48 PM, DeltaDave wrote:

Just out of curiosity, what would happen if I had a PHPFF action applied to multiple elements on a page?

Try it and see - I suspect it may fall over but there is a Multiple Forms action that can be applied to individual form elements that may allow them to work independently.

You cannot have 1 form and several instances of the action and expect them all to work though.

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