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

    Show jotform after payment?

    Asked by Leo  on June 21, 2016 at 01:57 PM

    Hi,

     

    Let's say I have a PayPal button, and once someone click and pay, I would like him to be redirected to a Jotform form, is't possible?

    JotForm show jotform paypal button
  • Profile Image

    Answered by Ben on June 21, 2016 at 03:02 PM

    You should be able to do that Leo by setting up the Thank you page to redirect upon submission to the form.

    You can see more about it here: Redirecting Users to a Different Page

    Do of course let us know how it goes and if you have any questions.

  • Profile Image

    Answered by fluor on June 21, 2016 at 03:27 PM

    Hi, this is Leo (I just created an account)

     

    Thank you for you quick reply, however it does not answer my question.

    Let me rephrase please, the first thing in the process is not a Jotform, but a simple PayPal button direct pay, once the payment is done I want the customers to be redirected to a custom Jotform.

  • Profile Image
    JotForm Support

    Answered by BDAVID on June 21, 2016 at 06:25 PM

    You need to specify the URL where the user will be redirected in your Paypal account, for that you need to enable the auto return:

    Let us know if you need more help.

  • Profile Image

    Answered by fluor on June 21, 2016 at 07:52 PM

    Thank you!

    However, anyone could access the Jotform via the link without paying I believe, is there a way to allow only customers who paid to access the Jotform?

  • Profile Image
    JotForm Support

    Answered by Kevin_G on June 21, 2016 at 09:42 PM

    I think that a way to do it will be adding a hidden field and filling it via the URL, here is an example link:

    https://jotform.com/61727990136967?fromPaypal=yes 

    And then use conditions to know if the field is filled or not, the condition should look like this one: 

    In my sample form if the parameter is sent the email field will be shown, but id there is not any parameter in the link then the email field will not be shown, try testing the link given above and this one too: https://jotform.com/61727990136967 

    To pre-populate the field via the URL use this app: http://prepopulate.jotform.io/ 

    You basically will need to add a text indicating that the form is available only if there is a payment done, and then use conditions to show this message if the variable is not in the URL. 

    The link you will use to redirect from PayPal will be the one with the parameter on it, so doing this only users who paid on the first form will be redirected to this form and those users without a payment will not be able to fill the form. 

    Here is also a guide that will help you to show / hide fields based on other fields: How-to-Show-or-Hide-Fields-Base-on-User-s-Answer

    If you have questions, please let us know, we will be glad to help.