Forums

Non chrono forms form in CHF

anvil905 01 Jul, 2009
Hi,

i have problem, i get html / php code from my form that isnt from CHF and i need get it to joomla - i need to collect info by emails and the best would be to explain it to you by basic example:

FORM Html :
<font color="black">
<form action="data.php" method="post">
<fieldset><legend>Kontaktujte nás</legend> Meno: <input
name="meno" type="text"size="32" /><br />
Priezvisko: <input name="priezvisko" type="text" size="28"
/><br />
E-mail: <input name="email" type="text" size="32" /><br />
Predmet: <input name="predmet" type="text" size="30" /><br />
<br>Text:<br>
<textarea name="text" rows="7" cols="30"></textarea><br>
<form method=post onsubmit="window.location='index.php' action="mailto:registracia@vavslovakia.sk">
<input name="submit" type="submit" value="Odoslať" />
</fieldset></form>
<br>
<font color="red">Všetky údaje sú povinné!</font>

But i dont know where i need get PHP code /i have it on validation option at the bottom of menu //i suppose there ///
<?php $prijemca = "registracia@vavslovakia.sk";
if ($meno && $email && $predmet && $text){mail("$prijemca", "$predmet", "$meno $priezvisko Vám posiela tento text $text",
"from: $email");}?>
BUT
there is next big problem http://www.vavslovakia.sk/ftp1/vavslovakia/sk/registracia
just try name, surname, email, subject, text and button is submit...always if i click on submit youll be redirected to
You are not allowed to access this URL ....i get php code to every window i suppose that it will be ok...but still...

So, 1. where i need get data.php to CHF options
2. why isnt mail send and all that you can see is You are not allowed to access this URL /when i want to set email in setup emails - i use to, subject, from name from email, i enable all 4 items and when ill save, Problem :

TableChronoContactEmails::store failed - Unknown column 'replytoname' in 'field list' SQL=INSERT INTO `josvav_chrono_contact_emails` ( `formid`,`to`,`dto`,`subject`,`dsubject`,`cc`,`dcc`,`bcc`,`dbcc`,`fromname`,`dfromname`,`fromemail`,`dfromemail`,`replytoname`,`dreplytoname`,`replytoemail`,`dreplytoemail`,`enabled`,`params`,`template` ) VALUES ( '6','registracia@vavslovakia.sk','','Form','','','','','','Client','','info@vavslovakia.sk','','','','','','1','recordip=1\nemailtype=text\nenabled=1\neditor=1\nenable_attachments=1','\r\n
\r\n\r\n
Kontaktujte nás Meno: {meno}
\r\n\r\nPriezvisko: {priezvisko}
\r\n\r\nE-mail: {email}
\r\n\r\nPredmet: {predmet}
\r\n\r\n
Text:
\r\n\r\n{text}
\r\n\r\n\r\n\r\n
\r\n\r\n\r\n
\r\n\r\nVšetky údaje sú povinné!\r\n\r\n\r\n' )

please help, and sorry about my bad enligsh
Thank you very much
Max_admin 02 Jul, 2009
Hi anvil,

if your php is to send emails then I suggest you don't use it and build an email using Chronoforms, please read the email setup tutorial from our tutorial page!

Please upgrade to V3.1 RC5.2 and open the "Upgrade SQL" page and it will fix the error you get!

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Max_admin 04 Jul, 2009
Hi, I think that you have form tags inside your form code, this is wrong and will break it!

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
anvil905 21 Jul, 2009

Hi, I think that you have form tags inside your form code, this is wrong and will break it!

Regards
Max




thanks now its ok
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger