CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 to fill a form & send this form to a email

Print topic Send  topic

Author Message
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

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.