Using the excellent PHP Feedback form requires a Success and Fail Page after the form is sent.
In my application, I don’t want to use a full size page as it would be much easier for a viewer to close a floating window instead.
I have tried to use a full black page with a loading gif as the Success/Fail Page. To this I have added a Timed Spawn New Window Action with a delay of 3 seconds which I want to open the floating window - which is a 450px square page with the Success (or fail) message and this page has a graphic button with close window action. the plan being it will leave me on the original page.
This is not working - has anyone a work-around
Currently the action is written so that all of the brains of the PHP
is held in a separate .php file. The (filename)-go.php file the action
creates is self contained and processes the form data and handles any
errors that may crop up. The overall benefit of doing all of this in a
separate file is that your Freeway page can remain as a regular html
file and you don’t need to swap the file extension to .php which, in
itself, exposes problems with previewing your pages locally.
What Tev wants to do is more than possible but would require the form
to submit the form data to the same page as it is on. This would then
process the data or return the user back to the same filled out form
if there was an issue.
Trev, if you wanted to edit the -go.php file to do something this then
I can give you some pointers.
On 5 Mar 2010, at 14:51, Robert B wrote:
Not sure if that confuses the PHP form by not actually starting over
to fix mistakes, but trying to fix them on a page that already has
the mistakes and is still open.
I’m sure Tim will chime in with the correct solution…
Perhaps If I could expand on my reasons for wanting to do this in the first place it might sound a bit more sensible.
I am currently working on a site that has several pages which contain the same form - In the 1st instance i’m using it for a simple add me to mail list. I also use it on the site in 2 other locations also - 1 for general feedback and 1 for a Price match request.
It is a great action and very easy to use in Freeway.
I just thought that in the 1st case - a user will send the form from any of the pages and when they get the return message (ie: the success page) they will have to re-navigate back to the page the form was on or just go to some other page as the “report page” is an html page on its own"
I just thought that if the return message was perhaps a closeable window on the page it would help the user.
Maybe I am asking for too much.
For some reason the filled in info is not there when it goes back to the form. Wonder why?
Post a link Paul and we will have a look
Correct if I conclude that we we are talking about a full page rather then what Trev suggested
have a pop-up?
This is not possible with the current action and would require a different form construction method that submits the form back to the page that it is on. This page would then need to be a .php page. Beyond my ken!