My form has to send information to another website (salesForce.com). By adding the submit URL I lose "onsubmit" event. I would like to have an e-mail and a thank you message displayed on submit.
Can I have a form action URL with e-mail and redirect?
I was thinking about going down the road of a form tag attachment that maybe calls out an e-mail function and redirect? That seems way to advanced for me...
Any ideas on how to have form action URL with e-mail and thank you message?
Thanks!
Can I have a form action URL with e-mail and redirect?
I was thinking about going down the road of a form tag attachment that maybe calls out an e-mail function and redirect? That seems way to advanced for me...
Any ideas on how to have form action URL with e-mail and thank you message?
Thanks!
for anyone interested in my progress... or lack of:
working on adding a CURL event that looks like this:
oid=#####
retURL=http://www.informativedp.com
first_name=first_name
last_nam=last_name
company=company
email=email
phone=phone
city=city
state=state
lead_source=Website
That's not working.
Checked out a few posts on the web about PHP and CURL too... hoping to find something usefull. Someone had a PHP script that basically took POST data and added to values that were sent to SF. haven't been able to get that working either!
working on adding a CURL event that looks like this:
oid=#####
retURL=http://www.informativedp.com
first_name=first_name
last_nam=last_name
company=company
email=email
phone=phone
city=city
state=state
lead_source=Website
That's not working.
Checked out a few posts on the web about PHP and CURL too... hoping to find something usefull. Someone had a PHP script that basically took POST data and added to values that were sent to SF. haven't been able to get that working either!
Hi twinturbotom,
Have you searched here for SalesForce, we've done this a couple of times.
You probably need the cURL plug-in to transfer the data only and keep the user on your site.
Which version of ChronoForms are you using?
Bob
Have you searched here for SalesForce, we've done this a couple of times.
You probably need the cURL plug-in to transfer the data only and keep the user on your site.
Which version of ChronoForms are you using?
Bob
twinturbotom,
I'm using several forms to post to Salesforce w/ Chronoforms V4 (latest release).
The cURL event settings that I use are as follows:
oid=oid
lead_source=lead_source
recordType=recordType
Status=Status
first_name=first_name
last_name=last_name
company=company
email=email
phone=phone
Of course oid, lead_source, recordType, and Status are a 'Hidden Box'. So, the 'Hidden Box' settings I have for oid are as follows:
Field Name = oid
Field id =
Field default value = 00XXXXXXXXX
This is what I get when I post in 'debug' mode:
[oid] => 00XXXXXXXX
Basically the cURL action is reading the 'Field Name' then grabbing and posting the data associated w/ the 'Field default value'.
Hope this helps. I will eventually get around to posting a 'How to' for Salesforce using V4 but, I have to find out why my 'Dates' are not posting to Salesforce even though it's being posted in 'debug' mode.
I'm using several forms to post to Salesforce w/ Chronoforms V4 (latest release).
The cURL event settings that I use are as follows:
oid=oid
lead_source=lead_source
recordType=recordType
Status=Status
first_name=first_name
last_name=last_name
company=company
email=email
phone=phone
Of course oid, lead_source, recordType, and Status are a 'Hidden Box'. So, the 'Hidden Box' settings I have for oid are as follows:
Field Name = oid
Field id =
Field default value = 00XXXXXXXXX
This is what I get when I post in 'debug' mode:
[oid] => 00XXXXXXXX
Basically the cURL action is reading the 'Field Name' then grabbing and posting the data associated w/ the 'Field default value'.
Hope this helps. I will eventually get around to posting a 'How to' for Salesforce using V4 but, I have to find out why my 'Dates' are not posting to Salesforce even though it's being posted in 'debug' mode.
I'm new, and loving Chronoforms.
I am trying to submit my form fields to an external secure site: In every test, the variable data in the fields simply does not show up on the recieving site. I get the results screen and it shows perfectly, and the debug shows no problems. Is there a syntax problem I don't understand? See the string provided to me for the reciept of the form data here:
"https://hr.gpt3.net/hr/ProspectRegLBH.asp?fna='firstName'&lna='LastName'&ema='Email@ema.com'&pho='8051112222''&comp='Company Name'"
Thank you kindly in advance.
EdS
I am trying to submit my form fields to an external secure site: In every test, the variable data in the fields simply does not show up on the recieving site. I get the results screen and it shows perfectly, and the debug shows no problems. Is there a syntax problem I don't understand? See the string provided to me for the reciept of the form data here:
"https://hr.gpt3.net/hr/ProspectRegLBH.asp?fna='firstName'&lna='LastName'&ema='Email@ema.com'&pho='8051112222''&comp='Company Name'"
Thank you kindly in advance.
EdS
Hi EdS,
You have some stray (and mismatched) quotes in the URL and some parts need URLEncoding. The easiest way is to use the ReDirect URL action in CFv4 to build your URL, and the ReDirect User to execute the redirection.
I'd expect the resulting URL to look like
Bob
You have some stray (and mismatched) quotes in the URL and some parts need URLEncoding. The easiest way is to use the ReDirect URL action in CFv4 to build your URL, and the ReDirect User to execute the redirection.
I'd expect the resulting URL to look like
https://hr.gpt3.net/hr/ProspectRegLBH.asp?
fna=firstName&lna=LastName&ema=Email%40ema.com&pho=8051112222&comp=Company Name
(line break added to stop it going off-screen)Bob
Thanks Greyhead,
My issue is the variables. I can get the constants over using your syntax, but when I put form data in, the recieving website shows nothing for the form entry fields. Do I use curly brackets in the string to represent the value?
I need the form to be filled out, and when the submit is hit, the variable fields are recieved as named. This is not happening.
EdS
My issue is the variables. I can get the constants over using your syntax, but when I put form data in, the recieving website shows nothing for the form entry fields. Do I use curly brackets in the string to represent the value?
I need the form to be filled out, and when the submit is hit, the variable fields are recieved as named. This is not happening.
EdS
I am getting closer. Thanks for your help.
I have gotten the variables to work, but the next step apparently is to fix the malformed syntax for the email address, which is "eseaman3%2540gmail.com" instead of "eseaman3@gmail.com". How do I remove the "%2540"? I have used the validation in the form wizard and it doesn't seem to have an effect.
Thanks,
EdS
Debugger screen below
Data Array:
Array
(
[fna] => Ed
[lna] => Seaman
[ema] => [email]eseaman3@gmail.com[/email]
[pho] => 8058454949
[comp] => LBH
[input_submit] => Start Your Pilot Now
[fbb5d90845ab0e5cf04294f1f5a463ee] => 1
[option] => com_chronoforms
[chronoform] => LBH_Reg_x1
[event] => submit
[Itemid] =>
[redirect_url] => https://hr.gpt3.net/hr/ProspectRegLBH.asp?firstName=Ed&LastName=Seaman&Email=eseaman3%2540gmail.com&Phone=8058454949&Company=LBH
)
Thank you!
You submitted the following information:
First Name: Ed
Last Name: Seaman
eMail: [email]eseaman3@gmail.com[/email]
Company: LBH
Phone: 8058454949
Have a great day and we'll be back to you.
Debug Data
An email has been SENT successfully from (Admin)sysadmin@laserbeamhiring.com to [email]eseaman3@gmail.com[/email]
Email template:
Submitted by 68.6.122.122
redirect_url
redirect_url_target_url: https://hr.gpt3.net/hr/ProspectRegLBH.asp?
Redirect URL: https://hr.gpt3.net/hr/ProspectRegLBH.asp?firstName=Ed&LastName=Seaman&Email=eseaman3%2540gmail.com&Phone=8058454949&Company=LBH
redirect_user
redirect_user_target_url:
Redirect URL (click to continue):
https://hr.gpt3.net/hr/ProspectRegLBH.asp?firstName=Ed&LastName=Seaman&Email=eseaman3%2540gmail.com&Phone=8058454949&Company=LBH
I have gotten the variables to work, but the next step apparently is to fix the malformed syntax for the email address, which is "eseaman3%2540gmail.com" instead of "eseaman3@gmail.com". How do I remove the "%2540"? I have used the validation in the form wizard and it doesn't seem to have an effect.
Thanks,
EdS
Debugger screen below
Data Array:
Array
(
[fna] => Ed
[lna] => Seaman
[ema] => [email]eseaman3@gmail.com[/email]
[pho] => 8058454949
[comp] => LBH
[input_submit] => Start Your Pilot Now
[fbb5d90845ab0e5cf04294f1f5a463ee] => 1
[option] => com_chronoforms
[chronoform] => LBH_Reg_x1
[event] => submit
[Itemid] =>
[redirect_url] => https://hr.gpt3.net/hr/ProspectRegLBH.asp?firstName=Ed&LastName=Seaman&Email=eseaman3%2540gmail.com&Phone=8058454949&Company=LBH
)
Thank you!
You submitted the following information:
First Name: Ed
Last Name: Seaman
eMail: [email]eseaman3@gmail.com[/email]
Company: LBH
Phone: 8058454949
Have a great day and we'll be back to you.
Debug Data
An email has been SENT successfully from (Admin)sysadmin@laserbeamhiring.com to [email]eseaman3@gmail.com[/email]
Email template:
Submitted by 68.6.122.122
redirect_url
redirect_url_target_url: https://hr.gpt3.net/hr/ProspectRegLBH.asp?
Redirect URL: https://hr.gpt3.net/hr/ProspectRegLBH.asp?firstName=Ed&LastName=Seaman&Email=eseaman3%2540gmail.com&Phone=8058454949&Company=LBH
redirect_user
redirect_user_target_url:
Redirect URL (click to continue):
https://hr.gpt3.net/hr/ProspectRegLBH.asp?firstName=Ed&LastName=Seaman&Email=eseaman3%2540gmail.com&Phone=8058454949&Company=LBH
Hi EdS,
There is no problem with the email address - it's URL encoded so that it can be included in a URL. Usually the application receiving it will URL decode it automatically. If it's going to an application you created then the PHP urldecode() function will do it.
Bob
There is no problem with the email address - it's URL encoded so that it can be included in a URL. Usually the application receiving it will URL decode it automatically. If it's going to an application you created then the PHP urldecode() function will do it.
Bob
Thanks Bob.
It looks like I will need to apply the URL decode function, although it seems that I will only need it for the email field. Can you give me the steps?
Thanks much,
EdS
It looks like I will need to apply the URL decode function, although it seems that I will only need it for the email field. Can you give me the steps?
Thanks much,
EdS
Hey Bob,
One more thought. There has got to be a way on the Chrono side to turn the email into just a string of text, where I can use @ or & or anything else in the field BEFORE I send it via URL. My friend on the other side receiving the form data is a died-in-the-wool Windows SQL Server programmer- essentially telling me I'm a moron if I can't send simple text strings that he doesn't need to decode on his side. Can't Apache and Windows folks just get along?
Thanks,
EdS
One more thought. There has got to be a way on the Chrono side to turn the email into just a string of text, where I can use @ or & or anything else in the field BEFORE I send it via URL. My friend on the other side receiving the form data is a died-in-the-wool Windows SQL Server programmer- essentially telling me I'm a moron if I can't send simple text strings that he doesn't need to decode on his side. Can't Apache and Windows folks just get along?
Thanks,
EdS
Hi EdS,
I think you are missing the point here. There are some characters that you can't send in a URL and '@' is one of them. See http://en.wikipedia.org/wiki/Percent-encoding
If you want to send it by URL then it needs to be encode before you send it and decoded when it arrives. There's an example of an SQL decoder here
Bob
I think you are missing the point here. There are some characters that you can't send in a URL and '@' is one of them. See http://en.wikipedia.org/wiki/Percent-encoding
If you want to send it by URL then it needs to be encode before you send it and decoded when it arrives. There's an example of an SQL decoder here
Bob
This topic is locked and no more replies can be posted.