I want to create "Thank you" page after the email is sent, to say something like "Thank you for registering for {name_of_event}".
I click on the "Form Code" tab, then open the "On Submit code - after sending email:" section to input the html for my thank you page.
As part of my message I included the {event} tag, which I successfully used in the email template section, but it doesn't seem to work in my "Thank You" page.
Do the {tags} from the email template page not work in these other sections (under the "Form Code" tab)?
I click on the "Form Code" tab, then open the "On Submit code - after sending email:" section to input the html for my thank you page.
As part of my message I included the {event} tag, which I successfully used in the email template section, but it doesn't seem to work in my "Thank You" page.
Do the {tags} from the email template page not work in these other sections (under the "Form Code" tab)?
Hi bobsmith,
The '{event}' tags only works in the 'Special fields' Tab and the Email Template.
You can get the same result with a little PHP in the OnSubmit field though - try
Bob
The '{event}' tags only works in the 'Special fields' Tab and the Email Template.
You can get the same result with a little PHP in the OnSubmit field though - try
<?php echo $_POST['event']; ?>
Note: you can see the $_POST values by turning on debug in your form.
Bob
I have created new Joomla page in my website with these codes;
Then opened my form in Chronoform manager and put these codes with link to that page(I am not sure what I should put)
This gave me nothing<br><br>Post edited by: Beata, at: 2008/01/19 11:34
<meta http-equiv="refresh" content="5 ; url=http://www.genealogija.lt" >
<title>Thank You.</title>
<p>
<h3 align="center">
Ačiū !<br />
Jūsų užsakymas bus perduotas genealogams<br />
</h3>
Then opened my form in Chronoform manager and put these codes with link to that page(I am not sure what I should put)
<input type="hidden" name="reply" value="http://genealogija.lt/index.php?option=com_content&task=view&id=163">
This gave me nothing<br><br>Post edited by: Beata, at: 2008/01/19 11:34
Hi Beata,
You'll find a simple way of creating a thank you page in this FAQ. Basically put the code you have in the first box into the 'On Submit after email' box in ChronoForms.
I see that you want a redirect too, that should be possible. I'll experiment and post a follow up message here.
Bob
PS I looked at your site which looks very good. But in FireFox the page refreshes before it has completed loading which makes it close to impossible to use. You have a lot of Javascript in there and I guess that there may be a conflict somewhere.
You'll find a simple way of creating a thank you page in this FAQ. Basically put the code you have in the first box into the 'On Submit after email' box in ChronoForms.
I see that you want a redirect too, that should be possible. I'll experiment and post a follow up message here.
Bob
PS I looked at your site which looks very good. But in FireFox the page refreshes before it has completed loading which makes it close to impossible to use. You have a lot of Javascript in there and I guess that there may be a conflict somewhere.
Hi Beata,
To show a Thank You page and then redirect please put this code in the 'On Submit after email' box:
PS If you just want to redirect without showing the Thank You page then you an use the Form URLs | Redirect URL box.
To show a Thank You page and then redirect please put this code in the 'On Submit after email' box:
<?php
global $mainframe;
$custom_tag = '<meta http-equiv="refresh" content="5; url=http://www.genealogija.lt" >';
$mainframe->addCustomHeadTag($custom_tag);
?>
<title>Thank You.</title>
<h3 align="center">Ačiū !<br />
Jūsų užsakymas bus perduotas genealogams</h3>
Bob
PS If you just want to redirect without showing the Thank You page then you an use the Form URLs | Redirect URL box.
Thank you very much for good advices and for quick help
It works with redirection and without it
I left without, after submitting form I get clean page with Thank you sentence
This is what wanted, because it is strange when submit form and don't get some answer only clean page
I have still one silly problem but this isn't about chronoforms... the whole day I am trying to adjust my form in the middle of page but which width I don't choose my form remove right border bellow. I tried 550 and 400 px, I tried table without width and it is the same. Something extend and I can't find what....
see this page
Thank you again for help
Edited to add url tags<br><br>Post edited by: GreyHead, at: 2008/01/19 23:35
It works with redirection and without it
I left without, after submitting form I get clean page with Thank you sentence
This is what wanted, because it is strange when submit form and don't get some answer only clean page
I have still one silly problem but this isn't about chronoforms... the whole day I am trying to adjust my form in the middle of page but which width I don't choose my form remove right border bellow. I tried 550 and 400 px, I tried table without width and it is the same. Something extend and I can't find what....
see this page
Thank you again for help
Edited to add url tags<br><br>Post edited by: GreyHead, at: 2008/01/19 23:35
Hi Beata,
I took a quick look but don't see anything obvious wrong. Sorry.
Bob
I took a quick look but don't see anything obvious wrong. Sorry.
Bob
It isn't good and I think I should do some corrections in CSS or in template
Today a thought came me into break, that form is too long and maybe I should add some codes after right column or after centered content like style="clear or what I don't know, but realy no other long page, for instance http://genealogija.lt/index.php?option=com_content&task=view&id=147&Itemid=134 don't make such things with right column and what can be here I don't understand, because your sample form don't make such things
I don't think that here is fault of chronoforms. I strived to do a form more narrow, but this gave me no results😉
Sorry, that I border your head, I am going to investigate how improve this....
<br><br>Post edited by: Beata, at: 2008/01/20 11:13
Today a thought came me into break, that form is too long and maybe I should add some codes after right column or after centered content like style="clear or what I don't know, but realy no other long page, for instance http://genealogija.lt/index.php?option=com_content&task=view&id=147&Itemid=134 don't make such things with right column and what can be here I don't understand, because your sample form don't make such things
I don't think that here is fault of chronoforms. I strived to do a form more narrow, but this gave me no results😉
Sorry, that I border your head, I am going to investigate how improve this....

I solved it in this way: in page with form I have deactivated two top positions: "Latest news" and "Popular links"
Now is OK
Now is OK
This topic is locked and no more replies can be posted.