custom thank you page on quick mode - Crosstec
Welcome, Guest
Please Login or Register.    Lost Password?

custom thank you page on quick mode
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: custom thank you page on quick mode
#14490
custom thank you page on quick mode 2 Months ago Karma: 0
i have created a quickmode form with the last page set as the thank you page. originally i wanted to set a section to be hidden unless the visitor takes a certain action on the form, however it appears that once the form is submitted - the javascript to show/hide the field will be broken

i then tried to add php to the after submit piece, however even when i do something as simple as
Code:

echo "hello world";
this does not show on my thank you page. is there a way to get the php to echo on the thank you page?
bristweb
Fresh Boarder
Posts: 12
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#14509
Re: custom thank you page on quick mode 1 Month, 4 Weeks ago Karma: 6
Once a form is submitted, adding another form field for the user to complete is not possible -- but you might be able to do that by redirecting your user to a different form for the thank you page, where you could have another field for them to complete. See this KnowledgeBase article for how to link to a different URL after submit:

www.crosstec.de/support/index.php?pid=kn...wentclient&id=27
terrywmu
Admin
Posts: 430
graphgraph
User Offline Click here to see the profile of this user
Gender: Female Location: Vancouver Island BC Canada
If you use BreezingForms: Trinity, please post a rating and a review at the Joomla! Extensions Directory
The administrator has disabled public write access.
 
#14511
Re: custom thank you page on quick mode 1 Month, 4 Weeks ago Karma: 0
i think you misunderstood my goal

what i am trying to do is give custom thank you pages depending on what the visitor enters during the form

ex:
Code:

<?php

if ($gender == 'male')
echo "Thank you Mr. " . $firstName . ' ' . $lastName;
else
echo "Thank you Ms. " . $firstName . ' ' . $lastName;

?>



or

Code:

<?php

$score = $ans1 + $ans2 + $ans3;
echo "Your test is complete!";
if ($score >= 90)
echo "You have scored better than 90.  You may download an acceptance certificate <a href="certificate.pdf">here</a>";
else
echo "You did not score high enough to receive a certificate";

?>

bristweb
Fresh Boarder
Posts: 12
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/07/10 00:27 By bristweb.
The administrator has disabled public write access.
 
#14792
Re: custom thank you page on quick mode 1 Month, 2 Weeks ago Karma: 16
Hi,

the problem is that after a submission you cannot acces the values automatically.

What you would need to do is retrieving the form submission data with some php/sql in the submitted script (you can use php there besides javascript). From there you can fill fields/divs on the thank you page.

I can assist you on that if you encounter problems doint that.

Regards,
Markus
TheMuffinMan
Moderator
Posts: 769
graph
User Offline Click here to see the profile of this user
178152063 Gender: Male koelnkalk Location: Cologne - Germany Birthday: 03/07
The administrator has disabled public write access.
 
Go to topPage: 1
Moderators: , TheMuffinMan