Forums

email not working when using a submit url

MikeyMike 09 Mar, 2009
Hello,

I am using a result page for a calculationform. I found that is I fill in the submit url the emails are not send. If I delete the submit url, the form takes me to an empty page (by default) but the emails are send then.
How can I change this behaviour to that I can use a submit url for a result page and it will send the emails as well?

Version RC2


Maickel
GreyHead 09 Mar, 2009
Hi Maickel,

You can't - the OnSubmit URL redirects all form output to that URL and ChronoForms never sees the results and can't process them.

If you use a ReDirect URL the form will redirect there after processing but, unless you specifically code it, no form results will be included in the url.

Can you tell us more about what you want the other site to do?

Bob
MikeyMike 09 Mar, 2009
Hi Max,

I use one form to calculate a saving on energy. That info is processed by the result form.
I just would like to know what kind of calculations are made most frequently. So i wanted to save the mails and maybe later do some processing on them. Maybe it is easier to store the data in the mysql database? Or is that also not possible by default?

if so, I wouldn't know which tables I can use for this data?

regards,

Maickel
GreyHead 09 Mar, 2009
Hi Maikey,

When you say the result is processed by the result form - how does that work? You submit the form to another site?

Can you post or PM me more info please?

I think you can probably do all of this either with the CURL form or with a ReDirect URL but I need to have more info to be sure.

Bob
MikeyMike 09 Mar, 2009
Hi Bob,

I have send you a PM..
afri-can 15 Mar, 2009
Could you guys post the solution online, I am trying to send a email to sales force and the same forms details to be sent via email to email address, when I use submit url (with the salesforce url), i do not get an email but sales force gets the form details, is the redirect url for redirecting after I the form is sent
GreyHead 15 Mar, 2009
Hi afri-can,

Using the OnSubmit URL redirects the form output immediately - to SalesForce in this case - so ChronoForms never sees it and cannot send emails or save data.

You will need to use some other means to redirect if you want to send emails.

IIRC someone else posted about a form link to SalesForce a few months ago - I don't now remember how they handled this.

Bob
afri-can 15 Mar, 2009
I have installed the CURL plugin and although I am still testing it seems to be working, will let you know,
thanks
This topic is locked and no more replies can be posted.