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 can I create a payment form based on word count?

    Asked by EricMac on January 15, 2015 at 10:41 AM

    I'm trying to create a form for customers to input their ads, and then pay for them. We charge $1 per word, so I thought it would be easy to make a form that would take the word count (which they would input themselves based on the word count feature) and just automatically add it to the payment field. So far I have not been able to get this to work. I've looked at other help topics in the support forum and they have helped, but I've hit a wall when doing the condition to input the word count field to the payment field. I get the error "If output is address field, source must also be." We use Authorize.Net for our payments.

    Any pointers you can give me I would appreciate. Thanks.

    Page URL:

  • Profile Image

    Answered by Ben on January 15, 2015 at 11:51 AM


    I am not sure why you got the error for address field, but you should add the field as a number, not as a text.

    What I would suggest is to not use conditions at all, but to add Form Calculation widget and capture the value from within it.

    Once you get it like that, you can just set your payment processing tool to capture the value from form calculation widget like shown here: How to pass a calculation to a payment field

    You can see it in action here: http://form.jotformpro.com/form/50144812201944

    Do let us know how it goes.

    Best Regards,

  • Profile Image

    Answered by EricMac on January 15, 2015 at 03:39 PM

    Got it, thank you very much!

  • Profile Image

    Answered by Ben on January 15, 2015 at 04:10 PM

    Hi Eric,

    You are welcome.

    Do let us know if you have any further questions or if you need any assistance and we would be happy to assist.

    Best Regards,