-
paulsapioAsked on March 30, 2015 at 5:57 PM
Hello jotform team, first I want to say thank you! You guys are always very helpful and respond pretty fast!
Here are my questions!
We generate leads for colleges using Live Chat, and I have forms built to submit just a lead from that my team fills out when they generate a lead.
A few clients have asked me to send data though PHP post which I know little to nothing about, but learning as I go. So I have decided to beta test it with one client to see if I can make it work.
So they have sent me the instructions on how to post data to a Lead Conduit. When I try to do it I get an error saying I have the wrong info. I am thinking that I am passing the info wrong.
They have Required parameters to be sent thought. for example:
Field Parameter = xxAccountId Value must be: 0530xxeg1
Field Parameter = xxCampaignId Value must be: 053ktt12h
Fild Parameter = xxSiteId Vale must be" "IBT www.BayAreaTradeSchool.com - PPC -Chat"
My question is, I tried to make a text box, and name it xxAccountId and have it already populated with 0530xxeg1, but I feel that I am doing that wrong. All this should be hidden from the form user.
Next question would be sending actually data - (data my team would fill out on the form it self)
Field Parameter = first_name Value must be: Value must be shorter than 255 characters long
For first_name would I just make a text box and name it first_name? Would that pass the first name along to the right place?
I know this might be a lot, thank you again for your help.
Here is an example of the html code I am trying to get to work
first_name
last_name
email (required)
main_phone
education_level
Some High School
High School Diploma/GED
Some College
College Graduate
hs_grad_year
zip_code
program_of_interest
heard_about
source
GCLID
-
jonathanReplied on March 30, 2015 at 8:42 PM
Thank you for contacting us.
I suggest reviewing also the user guide -How-to-Post-Submission-Data-to-Thank-You-Page to be sure all steps on the form are set accordingly.
You can test submit your jotform to be able to get PHP codes and Variable names by setting this URL https://www.jotform.com/show-post-data/ as the Thank You URL in the post submissoin.
Sample result:
Check if you were using the correct variable names. Base on your description, I think that could be the reason for it not working.
Hope this help. Let us know if you need further assistance.
Thanks.
-
paulsapioReplied on March 30, 2015 at 9:15 PM
how should I pass
Field Parameter = xxAccountId Value must be: 0530xxeg1 ?
-
paulsapioReplied on March 30, 2015 at 10:46 PM
Never mind I think I got it to work :) Thank you
-
Ashwin JotForm SupportReplied on March 31, 2015 at 4:01 AM
Hello paulsapio,
On behalf of my colleague, you are welcome.
I am glad to know that your issue is resolved.
Do get back to us if you have any questions.
Thank you!