make PDF

noztox 12 Feb, 2009
Hi all,

first, i have question about make pdf from form i make with ChronoForms V2.3.9 after submit data ?
second, how to make redirect url after submit data to display data form and send email attachment pdf from data input ?

sorry, i newbie..😶

thanks before..🙂
GreyHead 12 Feb, 2009
Hi noztox,

I don't know of any good way to make a pdf of a page in ChronoForms without coding the pdf output by hand. Joomla has a pdf library and you can certainly do that. Once you have a PDF you can add it to the attachments array to send it.

To re-display the form, the simple answer is to copy the html from the email template and re-paste it into the OnSubmit After box. I think this will work though it's possible that you will need to replace the {field_name} values with the $_POST equivalents.

Bob
noztox 12 Feb, 2009
ok, i try...

thanks for help me, bob..
noztox 16 Feb, 2009
<?php
global $mainframe;

$custom_tag = '<meta http-equiv="refresh" content="5; url=http://www.example.com" >';
$mainframe->addCustomHeadTag($custom_tag);
?>
<p>Thank You.</p>
<p>Add your text for the thank you page here.</p>


i think like this to redirect url after i input data.. ? putting the code into the On Submit code - after sending email. i see from FAQ 😀
Max_admin 16 Feb, 2009
Hi noztox,

your code will redirect after a few seconds.

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
noztox 17 Feb, 2009
i know max...
you have idea redirect without wait few seconds.
GreyHead 17 Feb, 2009
Hi noztox,

What do you need to do here? ChronoForms has a ReDirect URL box (on the Form URLs tab) that will redirect without any delay.

Bob
This topic is locked and no more replies can be posted.