LeFrancais
|
| Posted: 05/29/2003, 7:12 AM |
|
Hy, I already send this question, I try to solve alone but I coulld'not!
I have a form: name - first name- email - text
I can fill my database.
But I want to recieve also a email with the above elements. I used on Submit send a mail. It works but not for all the fields. I would like to have in the message body all my fields.
What can I do? I already spend a lot of time without success. Thanks.
Code Charge Studio 2.06 / PHP /
|
|
|
 |
rclayh
|
| Posted: 05/29/2003, 10:53 AM |
|
Use CCS to generate the email code. Then copy it and delete the email event. Add a custom code event. Paste the email code. Add the necessary changes to add all the fields to the message.
|
|
|
 |
RonB
|
| Posted: 06/01/2003, 4:10 AM |
|
Use the after insert event to get the values from the submitted form, ie:
$to_email=$mygrid->email_field->GetValue();
$subject=$mygrid->subjectfield->GetValue();
$message_body=$mygrid->messagefield->GetValue();
mail($to_email,$subject,$message_body);
Ron
|
|
|
 |
|