Forums

Thanks message on V7

Ron 04 Oct, 2020
I was to have the facility of customizing my confirmation massage/thanks message after form is submitted. I do not want to use the built-in message as it is not suitable for me. Can I use the php action ? If I can, would I be guided how ?
Max_admin 05 Oct, 2020
Answer
You can display any HTML using the HTML view in the end page of the form
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Ron 05 Oct, 2020
How ? Even if I load it in a hidden state it shows in the front end..
Max_admin 06 Oct, 2020
my answer was about displaying HTML code on the page, what is the issue with hidden ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Ron 06 Oct, 2020
I do not understand your reply. This thread is about display of a thank you message after a form is submitted.
You said use an html view. I said How ??
Max_admin 06 Oct, 2020
2 ways to display a thanks message:

1- Confirmation message behavior in the form settings!
2- for more custom solution, use the HTML view in your page!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Max_admin 06 Oct, 2020
you should drag the HTML view to the last page in the form, not the first page!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Ron 07 Oct, 2020
Thanks, Max
I got it... One more thing..
If I have a form with say 5 pages. But I use only the first page in the View area. Can I use the Action area of all the rest 4 pages to do actions as per pages? In this way I can have a delay before the action goes to the next page. Something like this.. I have a PHP action as below.
<img src="images/loading.gif"><br><br>
<h1 class="center">Processing...Sent first question..<br>sending another in 60 seconds..<br> Please wait...</a></h1>
</center>

<p>
<?php header('Refresh: 59;url=index.php?option=com_chronoforms7&cont=manager&chronoform=send_quest&gpage=second_page'); ?>
</p>
I tried it but it does not work.. It just does not cross the third page but goes into a loop and keeps sending the same question email....

Please help as to where I may be going wrong?

Thanks
Max_admin 16 Oct, 2020
You have a link to the second_page in your code, so it will open the second_page but not the 3rd, additionally the "Redirect" action can redirect with a delay, why not use it ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Ron 17 Oct, 2020
Thanks for the reply Max.

I tried the redirect function available It does not work. So I tried these code:
<p>  <?php header('Refresh: 59;url=index.php?option=com_chronoforms7&cont=manager&chronoform=send_quest&gpage=second_page'); ?></p>
<p>  <?php header('Refresh: 59;url=index.php?option=com_chronoforms7&cont=manager&chronoform=send_quest&gpage=third_page'); ?></p>
<p>  <?php header('Refresh: 59;url=index.php?option=com_chronoforms7&cont=manager&chronoform=send_quest&gpage=fourth_page'); ?></p>

Every link is different not only to second page.

Thanks
Max_admin 30 Oct, 2020
The Redirect action works fine here, if it does not work for you then please upload a simple test form with the Redirect action not working!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
TWC 21 Dec, 2020
Thank you for this information!
I'd like to use (2). is there a possibility to send formdata (sending admin email, security check and uploading files) AND processing to the next page (custom html with thank you information) with one button click?

Sascha
Max_admin 21 Dec, 2020
Yes, you can add any HTML and thank you info to the form "end_page" and that will be displayed after the form!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
TWC 22 Dec, 2020
Thanks Max, and put the email action to the "end_page"!
it is working!
Max_admin 23 Dec, 2020
the email action is needed if you need a custom email beside the 2 available under the form settings, most users do not need that in a basic contact form
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
You need to login to be able to post a reply.