Ambiera Forum

Discussions, Help and Support.

Create a new account, Search, or Login:
Name: Password:
Ambiera Forum > RocketCake
fornular
Author Text

andi
Registered User
Quote
2021-04-05 11:56:45

After submitting the contact form, I would like to be forwarded to a response page. How can I do that?


erik
Registered User
Quote
2021-04-05 12:59:16

Set the action of the form to the page you want it to go to instead of the same page. Also, put the php code onto that page instead of the contact form page.


andi
Registered User
Quote
2021-04-16 17:34:56

Hello Erik, thank you very much for the info. But unfortunately I didn't succeed. Do you have an example?
What must be in the php code on the contact page and what must be on the response page.

standard on contact page is


$text = "";

foreach($_POST as $name => $value)

{

$text .= "$name : $value\n";

}


if ($text != "")

{

echo 'Thanks for contacting us.';

mail("youremail@example.com", "Contact form request", $text);

}

What do I have to change?
Many thanks for your response


niko
Moderator
Quote
2021-04-17 07:33:50

He meant you must set the action of the web form element to the target page. Then it should work.
If you can't make it work, send your .rcd file to support (this website -> support -> contact), I can help you then likely.


andi
Registered User
Quote
2021-04-17 16:40:08

Hello Niko,

it doesent work. How can I send the rcd. file in support ->contact?

BR Andreas


erik
Registered User
Quote
2021-04-17 16:49:14

On that page, there is also a mail address written.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Internationa?" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© 2020 Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact