Confirm Page not working - Post ID...
Hi,
after submit the form data is properly stored in the specified .csv and/or in the MySQL-database without any problem. But the confirm page does not work. The form disappears and the screen moves to the top. That´s it.
Surprisingly this behaviour is the same with Confirmation message, Redirect to another URL and Redirect to custom HTML page. I have looked into the code, but could not detect anything.
I am using HTML widgets to import the code, I guess you cannot escape from these containers? I have tried it with Goldfish (http://www.fishbeam.com) and with the old but still working iWeb - same behaviour. I do not understand how your php, html and javascript work together (I hope I do not need to understand this!).
Should I paste your code into blank pages? Any hints?
Thanks in advance
Axel
after submit the form data is properly stored in the specified .csv and/or in the MySQL-database without any problem. But the confirm page does not work. The form disappears and the screen moves to the top. That´s it.
Surprisingly this behaviour is the same with Confirmation message, Redirect to another URL and Redirect to custom HTML page. I have looked into the code, but could not detect anything.
I am using HTML widgets to import the code, I guess you cannot escape from these containers? I have tried it with Goldfish (http://www.fishbeam.com) and with the old but still working iWeb - same behaviour. I do not understand how your php, html and javascript work together (I hope I do not need to understand this!).
Should I paste your code into blank pages? Any hints?
Thanks in advance
Axel
Hi Axel,
Try removing the script wrapping the iframe or placing the form html directly into your page.
Try removing the script wrapping the iframe or placing the form html directly into your page.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
Hi Eric,
thanks for your answer. Unfortunately, nothing helped so far. Even with a blank page, I am not sure, what HTML should I copy exactly.
I had some success when I change the action of the form directly to my new page, but then I do not get any results stored. May be the key to success is to understand the following file. It is not clear to me, what the actions really do:
<?php
$scriptpath = substr( $_SERVER['SCRIPT_FILENAME'], 0, -4 );
$paths = explode ( DIRECTORY_SEPARATOR , $scriptpath );
$myName = end($paths);
require $scriptpath . '/fbapp/php/config.inc.php';
if( strtoupper( $_SERVER['REQUEST_METHOD'] ) == 'POST' ) {
$ctl = new FormController();
$ctl->Dispatch();
} else {
if( ! isset( $_GET['action'] ) ) $myPage->ReportStats( 'NotifyFormView' );
}
ob_start();
$myPage->Show();
ob_end_flush();
?>
Axel
thanks for your answer. Unfortunately, nothing helped so far. Even with a blank page, I am not sure, what HTML should I copy exactly.
I had some success when I change the action of the form directly to my new page, but then I do not get any results stored. May be the key to success is to understand the following file. It is not clear to me, what the actions really do:
<?php
$scriptpath = substr( $_SERVER['SCRIPT_FILENAME'], 0, -4 );
$paths = explode ( DIRECTORY_SEPARATOR , $scriptpath );
$myName = end($paths);
require $scriptpath . '/fbapp/php/config.inc.php';
if( strtoupper( $_SERVER['REQUEST_METHOD'] ) == 'POST' ) {
$ctl = new FormController();
$ctl->Dispatch();
} else {
if( ! isset( $_GET['action'] ) ) $myPage->ReportStats( 'NotifyFormView' );
}
ob_start();
$myPage->Show();
ob_end_flush();
?>
Axel
Axel Besser wrote:
Hi,
after submit the form data is properly stored in the specified .csv and/or in the MySQL-database without any problem. But the confirm page does not work. The form disappears and the screen moves to the top. That´s it.
Surprisingly this behaviour is the same with Confirmation message, Redirect to another URL and Redirect to custom HTML page. I have looked into the code, but could not detect anything.
I am using HTML widgets to import the code, I guess you cannot escape from these containers? I have tried it with Goldfish (http://www.fishbeam.com) and with the old but still working iWeb - same behaviour. I do not understand how your php, html and javascript work together (I hope I do not need to understand this!).
Should I paste your code into blank pages? Any hints?
Thanks in advance
Axel
Hi,
after submit the form data is properly stored in the specified .csv and/or in the MySQL-database without any problem. But the confirm page does not work. The form disappears and the screen moves to the top. That´s it.
Surprisingly this behaviour is the same with Confirmation message, Redirect to another URL and Redirect to custom HTML page. I have looked into the code, but could not detect anything.
I am using HTML widgets to import the code, I guess you cannot escape from these containers? I have tried it with Goldfish (http://www.fishbeam.com) and with the old but still working iWeb - same behaviour. I do not understand how your php, html and javascript work together (I hope I do not need to understand this!).
Should I paste your code into blank pages? Any hints?
Thanks in advance
Axel
it would be better to see your WFB project upload it to dropbox and paste the link on this forum thread so we can take a look at the set up
Mastering The Understanding With Hands-On Learning
NEW TO "COFFEECUP SITE DESIGNER" FOUNDATION 6 FRAMEWORK?
STUCK ON SOMETHING?
LEARNING & UNDERSTANDING "THE HOW TO"? THE WHY'S & THE WHEREFORE'S?
WITH WAYAN'S STEP BY STEP TUTORIALS
A simple quick way to contact me
https://mawarputih.coffeecup.com/forms/contact-wayan/
NEW TO "COFFEECUP SITE DESIGNER" FOUNDATION 6 FRAMEWORK?
STUCK ON SOMETHING?
LEARNING & UNDERSTANDING "THE HOW TO"? THE WHY'S & THE WHEREFORE'S?
WITH WAYAN'S STEP BY STEP TUTORIALS
A simple quick way to contact me
https://mawarputih.coffeecup.com/forms/contact-wayan/
The formbuilder will provide a script that looks similar to this.
Change it to look like this.
<script type="text/javascript">document.write(unescape("%3Ciframe id=\"fb_iframe\" src=\"myformname.php" + window.location.search + "\" width=\"100%\" height=\"1166\"allowtransparency=\"true\" scrolling=\"no\" frameborder=\"0\"%3E<a href=\"myformname.php\" title=\"myformname\">Check out my CoffeeCup Form</a>%3C/iframe%3E"));</script>
<noscript>
<iframe height="800" style="border:none; background:transparent; overflow:hidden; width:100%;"
id="fb_iframe" src="myformname/myformname.html">
<a href="myformname.php" title="myformname">Check out my CoffeeCup Form</a>
</iframe>
</noscript>
<noscript>
<iframe height="800" style="border:none; background:transparent; overflow:hidden; width:100%;"
id="fb_iframe" src="myformname/myformname.html">
<a href="myformname.php" title="myformname">Check out my CoffeeCup Form</a>
</iframe>
</noscript>
Change it to look like this.
<iframe height="800" style="border:none; background:transparent; overflow:hidden; width:100%;"
id="fb_iframe" src="myformname/myformname.html">
</iframe>
id="fb_iframe" src="myformname/myformname.html">
</iframe>
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
Thanks a lot so far! In the meantime I have seen, that the PHP of my server is still at 5.2.6, so I hope that an upgrade to 5.3 or above will solve the problem. It is my fault not to check the server requirements before, but I did not take into account the possibility of such an old php version. After upgrading I will see further.
Have a nice weekend!
Axel
Have a nice weekend!
Axel
Hi,
now after upgrading the server software everything works very well. Many thanks for a great piece of software – I really like it – and for your help!
Axel
now after upgrading the server software everything works very well. Many thanks for a great piece of software – I really like it – and for your help!
Axel
Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.