Good morning,
I updated chronoforms (an excellent complement) to version V3.1_RC5.5 and have me work, but had a code "On Submit code - after sending email:" that send an email to the joomla registered user, filling the form.
The code is:
****** is the email.
Thank you very much
I updated chronoforms (an excellent complement) to version V3.1_RC5.5 and have me work, but had a code "On Submit code - after sending email:" that send an email to the joomla registered user, filling the form.
The code is:
value="<?= $user->name; ?>" />
<input type="hidden" name="email" id="email"
value="<?= $user->email; ?> "
<?php
$subject = "Intranet: Regidoria de Governació.";
$html_message = "ENVIAMENT CORRECTE
En/Na ".$_POST['username'].", ha realitzat una petició a la Regidoria de Governació.
Sol·licitant: ".$_POST['select_1']."
Data Inici: ".$_POST['date_0']."
Data Fi: ".$_POST['date_1']."
Regidoria que ho sol·licita: ".$_POST['select_2']."
Petició: ".$_POST['text_4']."
Prioritat: ".$_POST['select_10']."
Persona que Autoritza: ".$_POST['text_7']."
Observació: ".$_POST['text_5']."
PENDENT DE CONFIRMACIÓ";
JUtility::sendMail('****@******.***', 'Intranet ', $from, $subject, $html_message, 0);
****** is the email.
Thank you very much