Welcome, Guest

custom thank you page on quick mode
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: custom thank you page on quick mode

custom thank you page on quick mode 1 year, 10 months ago #14490

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
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
  • OFFLINE
  • Junior Boarder
  • Posts: 21
  • Karma: 1

Re: custom thank you page on quick mode 1 year, 10 months ago #14509

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
  • OFFLINE
  • Administrator
  • Posts: 510
  • Karma: 8

Re: custom thank you page on quick mode 1 year, 10 months ago #14511

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:
<?php

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

?>


or

<?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
  • OFFLINE
  • Junior Boarder
  • Posts: 21
  • Karma: 1
Last Edit: 1 year, 10 months ago by bristweb.

Re: custom thank you page on quick mode 1 year, 10 months ago #14792

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
===============================================
Satisfied?
Consider a membership!
===============================================
Like us on Facebook
===============================================
Follow us on Twitter
===============================================
  • Page:
  • 1
Moderators: TheMuffinMan, ForumSupport
Time to create page: 0.44 seconds

Facebook Discount - 40% Off!

Fans of our Facebook page here are entitled to get a 1-year-subscription for the price of a 6-months!

Steps to take:

  • Become a fan on Facebook (Like) here
  • Purchase a 6-months-subscription from here
  • Write a quick email to This email address is being protected from spambots. You need JavaScript enabled to view it. with your username and prove of your like and we'll upgrade to the 1-year-subscription

Joomla!® Forms Discount - 40% Off!

Already purchased a forms extension from a different vendor but your requirements changed and now you need a forms extension that is capable of more than just the standards? We help you to keep the costs for a change under control: Get a 40% discount on our professional membership plan! -- meaning timely unlimited access to all current and future commercial extensions, breezingforms themes & apps and Joomla!® templates at crosstec.de, including 1 year of support -- without any website limitations -- Just prove that you previously purchased another forms extension for Joomla!® from a different vendor and you are qualified.

Steps to take:

  • Purchase a 1-year-subscription from here
  • Write a quick email to This email address is being protected from spambots. You need JavaScript enabled to view it. with your username and prove of the purchase for the other form vendor and we'll upgrade to the professional-subscription

About

Crosstec GmbH & Co. KG

Bergisch-Gladbacher-Str. 829

51069 Cologne, Germany

Imprint