View Full Version : Using more than one Universal Email server behavior on a page.
sandy170299
04-08-2009, 06:47 AM
Can I use more than one Universal Email server behavior on a page. I want to submit an email to the web site owner and submit a thank you email to the person who filled out the form.
Ray Borduin
04-08-2009, 07:54 AM
Yep. Just make sure not to set the redirect until the final email is sent.
sandy170299
04-08-2009, 08:00 AM
I had that part working, and put the redirect on the 2nd server behavior, but I'm getting an error message now when the page loads.
http://financial-strategist.com/hirebillform.cfm
Ray Borduin
04-08-2009, 08:04 AM
I think you are missing a quote in:
& ToString(IIf(isDefined("Form.email"),"Form.email",DE("))) & "")>
should be:
& ToString(IIf(isDefined("Form.email"),"Form.email",DE(""))) & "")>
sandy170299
04-08-2009, 08:22 AM
Yup - that worked. I swear I didn't touch that part of the code myself. I'll try to remember what the fix was in case it happens again :) Is this possibly a bug in the ColdFusion server model?
sandy170299
04-08-2009, 08:32 AM
After I went back and changed something in the server behavior, it defaulted to the single quote again and I'm getting the "Missing argument name" error again. In fact, it stripped the double quote from both fields, the from name and from email fields. Is this something that you think WA might fix in the future?
vBulletin® v3.8.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.