Fixer
Posts: 18
|
| Posted: 02/25/2005, 2:19 PM |
|
I know there is a way to have an email sent based on a change or something in a form, from what I read it seems like it's just a notification type email- what's the easiest way to have the contents of a simple online form (maybe five fields or so) emailed to somebody after a submit button is clicked- like most websites have as Feedback forms- and will it launch the client-side email app or can it send it from the web host/server of the ccs site/project, assuming also that the target email address resides at the host/server – then finally re-directing to another page? Also is there a ccs equivalent of an ms-access macro that can be built for events in general?
|
 |
 |
peterr
Posts: 5971
|
| Posted: 02/25/2005, 2:25 PM |
|
You can do this on the server side by using the "Send Email" action
in the "After Insert" event of a form. You can also modify the code generated by the action to merge several form fields, obtain user's IP, calculate something, etc.
This is exactly how our suport case submission forms at http://support.yessoftware.com/support_new.asp works.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
Fixer
Posts: 18
|
| Posted: 03/01/2005, 6:33 AM |
|
Thanks for the response. Being that I'm not very strong with coding (reason I purchased CCS) can you give me a hint on what code I need to add and where- I just want to take a couple of fields from the form and include them in an email- I have the email action done for "on-click" and filled in the target address, I just don't know how to get or include fields into the email body-
|
 |
 |
Fixer
Posts: 18
|
| Posted: 03/01/2005, 6:39 AM |
|
sorry, I failed to mention- when I add the fields from the drop-down for message body- once uploaded and live, I click the button I get an error claiming the field is unknown.
|
 |
 |
Vickie
|
| Posted: 03/14/2005, 5:58 AM |
|
I have been trying the same thing over the past week. I finally got it to work. The working form is on www.pigfishpossibilities.com/safeschools/moreinfo.htm. View the source to see the code.
Hope this helps!!
Vickie
|
|
|
 |
Fixer
Posts: 18
|
| Posted: 03/14/2005, 6:21 AM |
|
Thanks- I'll give it a shot
|
 |
 |