What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Submitting data through PHP POST Help

    Asked by paulsapio on March 30, 2015 at 05: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

     

    Page URL:
    http://form.jotformpro.com/form/50886626520964

    POST JotForm post data name
  • Profile Image
    JotForm Support

    Answered by jonathan on March 30, 2015 at 08: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.

  • Profile Image

    Answered by paulsapio on March 30, 2015 at 09:15 PM

    how should I pass 

     

    Field Parameter = xxAccountId Value must be: 0530xxeg1   ? 

  • Profile Image

    Answered by paulsapio on March 30, 2015 at 10:46 PM

    Never mind I think I got it to work :) Thank you

  • Profile Image
    JotForm Support

    Answered by ashwin_d on March 31, 2015 at 04: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!