**ianlowe**I am trying to use a very basic calculation to feed the PayPal integration widget.

I want to charge a fixed amount for each golfer who registers for an event but don't know how many will register. I had assumed I could simply exploit the conditional logic to say if a certain field was filled then add an amount to the Calculated field.

For Example:

IF Players Name1 Is FilledInsert {Calculation}+125 into CalculationHowever, this doesn't seem to work and the resultant value in the calculated field is dependent on the number of characters I type in to the text box.

I guess it works some other way but it seems as though it would be a logical option.

- JotForm Support
**BJoanna**If I understood you correctly you want to set value of 125 for each player and than calculate all players value inside of Calculation field.

You can achieve that by adding one additional text field for each player and hide that field. Then you can set conditional logic to add value of 125 to hidden field if player field is filled. You need to do it for all Players and hidden fields.

When you set conditional logic for all fields you can use Calculation widget to calculate them.

Here is a demo form I made http://form.jotformpro.com/form/51594840358968?

Feel free to clone it for closer look to my conditions.

Inside of this article you can find out how to pass calculation to payment form:

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

Hope this will help. Let us know if you need further assistance.