I can’t seem to encourage the ‘send’ button of my PHP Feedback form to show the ‘success’ page in a “_Blank” New window. Is there something I’m missing?
Alternatively, I’d like a simple SUCCESS message to appear without a popup on the form page itself but I can’t seem to implement a ‘target-to-this-DIV’ like solution. Any ideas?
You can set the Target attribute of your form in the Form Setup
dialog. You need to use the Extended tab, just enter these values
after you press New.
Name: target
Value: _blank
The leading underscore is critical to this working as you like. Note
that the error page or the success page will appear in the blank
window. There’s no magic way to only have the success happen in a new
window.
Walter
On Oct 26, 2010, at 11:03 AM, Scott Crundwell wrote:
I can’t seem to encourage the ‘send’ button of my PHP Feedback form
to show the ‘success’ page in a “_Blank” New window. Is there
something I’m missing?
Alternatively, I’d like a simple SUCCESS message to appear without a
popup on the form page itself but I can’t seem to implement a
‘target-to-this-DIV’ like solution. Any ideas?
thanks for the reply, not sure I’m explaining myself properly.
On specifying the ‘success’ page to open in a new ‘_blank’ window the site (once published) reverts to showing the page in a ‘_parent’ window.
Ultimately I want people to fill in the form and stay on the same page. Do I need to specify the _blank instruction in the automated PHP Feedback file?
I’m not sure you can do that. Only a browser indicating a target will
have any effect – you can’t issue a target command from the server
and have it work the way you describe. It sounds like you probably
need a custom form handler, one which uses a “post-back” method so
that the form submits to itself and integrates the results in the
originating page, replacing the form contents. PHPFF won’t do that as
far as I know. The only way you could get near that effect with that
Action would be to have the result page contain all of the same
content as the form page, minus the form. Does your success page
currently have any dynamic content in it, like a summary of the
submission?
Walter
On Oct 28, 2010, at 12:16 PM, Scott Crundwell wrote:
Hi Walt,
thanks for the reply, not sure I’m explaining myself properly.
On specifying the ‘success’ page to open in a new ‘_blank’ window
the site (once published) reverts to showing the page in a ‘_parent’
window.
Ultimately I want people to fill in the form and stay on the same
page. Do I need to specify the _blank instruction in the automated
PHP Feedback file?