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

    Is it possible to use a widget to generate a custom payment amount?

    Asked by CETASports on July 23, 2015 at 06:47 AM

    I want to create a dynamic form that generates a price for the customer.

    Each time the customer would select an option, there would be another level of the form appearing or getting ''unlocked'' with only certain options appearing depending of his previous choice. The context is a registration form for a tennis academy. A customer would select in order : 1. Tennis program ---> 2. Venue ---> 3. Schedule ---> The price is automatically generated for the customer depending on the 3 previous options. Because each program is not offered at each venue, we don't want the customer to make an impossible selection, that's why it is important to block certain options of the next level.

    To add a bit of complexity, each venue has a different pricing. Program A doesn't cost the same in venue B and venue C.

    I haven't seen any widget  that could accomplish such action.



    Page URL:

  • Profile Image
    JotForm Support

    Answered by KadeJM on July 23, 2015 at 10:32 AM

    It seems to me that you want to automatically generate a scaled price for users based on their choices on your jotform. 

    This isn't possible with widgets yet because we don't have one that fully supports this currently. So the only way to work around this is to use the donation option in the payment integration alongside the use of conditional logic.

    Please see this guide here http://www.jotform.com/help/275-How-to-pass-a-calculation-to-a-payment-field for a better understanding of how to do this properly.