How can I create a payment form based on word count?

  • Profile Image
    EricMac
    Asked 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.

  • Profile Image
    Ben
    Answered on January 15, 2015 at 11:51 AM

    Hi,

    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,
    Ben

  • Profile Image
    EricMac
    Answered on January 15, 2015 at 03:39 PM

    Got it, thank you very much!

  • Profile Image
    Ben
    Answered 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,
    Ben