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

    How to create an order form similar to Facebook Ads

    Asked by tcs246 on December 12, 2016 at 10:34 AM

     

    I NEED TO CREATE AN ORDER FORM FOR BUYING MY WEBSITE INVENTORY.

     

    I NEED A WAY TO GIVE THE COSTUMER ALL THE BANNERS/DISPLAY OPTIONS, IF WANTS TO PAY BY AMOUNT OF MONEY, BY DAY, BY BANNER, OR THE OPTION TO BUY BY CPM. 

    EX: I WANT TO BUY A "TAKEOVER BANNER" FOR 4 DAYS, EXPENDING $50 EACH DAY IN TOTAL. OR A TOTAL OF $200 DURING THE 4 DAYS. 

    OR NO MATTER HOW MUCH MUCH, I NEED TO BUY THE BANNER DURING 4 DAYS WITH 10.000 IMPRESSIONES EACH DAY.

     

    COULD YOU HELP US WITH THIS?

     

    THANKS. 

    Screenshot
  • Profile Image
    JotForm Support

    Answered by Boris on December 12, 2016 at 11:47 AM

    In order to receive payments through your form, you would need to use a payment field with one of the supported payment processors, as described in the following guide:

    https://www.jotform.com/help/165-Setting-Up-Your-First-Order-Form

    Usually the products we set up inside a payment field cover most of the use cases for the products you wish to offer. However, in your particular case the products inside the payment field may not be the most suitable to achieve your requirement for selling advertisement options.

    What we can do instead is a bit more complex to set up, but will be much closer to your needs, and this is to use regular form fields as your product options, and perform your own custom calculations:

    https://www.jotform.com/help/259-How-to-perform-calculation-in-the-form

    We can represent each payment option with its own form field. Based on what user enters on those payment fields, we will calculate the total amount they need to pay.

    Now, in order to only display the relevant form fields to our user, so that user does not need to select the number of days if they are paying per total, we can use conditional logic and control which fields are shown:

    https://www.jotform.com/help/57-Smart-Forms-Using-Conditional-Logic

    https://www.jotform.com/help/316-How-to-Show-or-Hide-Fields-Base-on-User-s-Answer

    https://www.jotform.com/help/196-Hide-or-Show-Multiple-Fields-at-Once

    Finally, when we are done performing all our calculations, we can pass the calculated total amount to the payment processor we have chosen, so you can receive the payment:

    https://www.jotform.com/help/275-How-to-pass-a-calculation-to-a-payment-field

    Please see the following demo form I've set up to showcase the above mentioned functionality in practice:

    https://form.jotform.com/63464074319963

    You can also clone this demo form into your own account for further tweaking it to your liking:

    https://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL

    Please try setting up your form according to the above linked guides, or according to the demo form provided above, and let us know should you need any further assistance.