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

    can i adjust URL in webhook with variables from specific forms

    Asked by gregg1gregg on July 14, 2015 at 12:11 PM

    My provider needs something like this:

    http:// ....

    ?firstName=Abby&lastName=Smith&agencyName=NAME&street=123 Main&city=TOWN&=state=XX&zip=12345&yourEmail=abc@abc.com&leadSource=16&campaign=24&comment=Comment text&ip=66.83.46.10&leadStatus=22

     

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

    variables adjust
  • Profile Image
    JotForm Support

    Answered by Boris on July 14, 2015 at 01:55 PM

    Could you please provide a little more detail on the exact setup you are looking for?

    From your post, it seems like you may actually want to pass information through URL variables, as used in our Prepopulating-of-fields-to-your-JotForm-via-URL-parameters. If you wish to pass data to your server directly via the URL as URL parameters, you can use a custom Thank-You-Page URL, such as:

    http://example.com/inbound.php?firstName={firstName}&lastName={lastName}&agencyName={agencyName}&street={street}&city={city}

    If you are trying to pass submitted data as a WebHook, from the form to your destination - please take a look at our guide on Creating-your-first-Webhook-with-JotForm. Some already existing Webhook-Samples may help as well.

    We also support passing data from your JotForm as Post Data directlyto your own custome PHP page, for which we have a guide here: Send-POST-Data-From-JotForm-Using-PHP-in-Custom-Thank-You-Page

    I hope this helps.

  • Profile Image

    Answered by gregg1gregg on July 14, 2015 at 02:25 PM

    I am using a third party system where the data is input into a CRM-like database ... it needs the data from JotForm in the populated in the URL format shown above.  The webhook connects and creates a new blank record in  the CRM-like dtabase now .... how do i create a http: string to corospond with the one I showed above?   Zapier creates one nicely, but who needs the middle-man?

  • Profile Image

    Answered by gregg1gregg on July 14, 2015 at 03:44 PM

    The custom thank you page might get the job done, but would be a pretty awkward user experience in that they'd get a useless page at my database

  • Profile Image
    JotForm Support

    Answered by david on July 14, 2015 at 03:46 PM

    The methods posted by my colleague are about as close as you can get using only JotForm.  You can POST the data to your server directly, but the format of the URL would need to be the similar to what my colleague showed and may not be configurable to your specifications.  Other than using the Thank You page, Zapier will likely be your best bet.

    There is unfortunately no way to POST the data to your thank you URL and have a thank you page as well.

  • Profile Image

    Answered by gregg1gregg on July 14, 2015 at 03:54 PM

    It's a shame to pay zapier $50 a month.  To confirm, there is now ay to configure the webhook URL as you colleague outlined.

  • Profile Image
    JotForm Support

    Answered by david on July 14, 2015 at 04:02 PM

    You can indeed setup the URL as my colleague mentioned.  However, the setup for that URL is specific to your forms field ID's so it would need to be setup in a required manner.  The URL needed for your purposes does look very similar to what can be created and passed in the method my colleague mentioned so as long as those constraints work for your purposes, you should be fine without Zapier.

  • Profile Image

    Answered by gregg1gregg on July 14, 2015 at 04:26 PM

    How do I construct my URL in webhooks.  I tried manually ... (ie. http:// ....... ?firstName={firstName}&lastName={LastName}

     ... and that didn't do what I wanted (adopting the form data)

  • Profile Image
    JotForm Support

    Answered by david on July 14, 2015 at 06:43 PM

    Using WebHooks and using the POST method require two different setups.  Here is what the WebHook method data forwarding would look like:

    http://www.jotform.com/help/245-Creating-your-first-Webhook-with-JotForm

    http://pastiebin.com/555a33dc712ef

    And POST method:

    http://www.jotform.com/help/213-Send-POST-Data-From-JotForm-Using-PHP-in-Custom-Thank-You-Page

    http://pastiebin.com/52565af9ce057

    You will be collecting the raw data and then need to setup your script to forward the raw data to your form.  The webhook method would require you to first capture the data, then construct your URL from the raw data.  It will not forward the populated URL.  I have not actually tried this setup so this is just from my understanding.