Questions about Payment Form extension

Help with Calcluations

  • spindoc99
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
12 years 3 months ago #13821 by spindoc99
Help with Calcluations was created by spindoc99
I have three forms built, They are for registering children up for soccer. Each form has a different price depending on how many children they want to register.

But I would like to add the amount field to let them put in a donation amount on top of what they pay for registration.

Example: If they choose form 1, they pay $35, but I want to have them fill in a field and donate an additional $20, or any amount they choose, and I want the form to calculate 35+(their amount) and charge that total amount.

I know this is in the calculations field, but I'm not sure how to fill it in.

slmserver.com/~koutsyou/dev/index.php/register

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #13846 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Help with Calcluations
Hi

You can simply create a texbox custom fee field. The steps are :

1. Create a new textbox custom field .

2. Set Fee Field property of this custom field to Yes.

3. In the Fee Formula, enter [FIELD_VALUE]

After that, the value which users entered in this field will be added to final total amount of payment.

Hope this help !

Tuan

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #13857 by Coughlin
Replied by Coughlin on topic Re: Help with Calcluations
Thank you. I assumed that is how it would work if it was possible on the form.
I am trying your solution now. Thanks!

Please Log in or Create an account to join the conversation.

  • spindoc99
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
12 years 3 months ago #13962 by spindoc99
Replied by spindoc99 on topic Re: Help with Calcluations
It doesn' tseem to be adding up, I've attached screenshots of form and field.

Attachment form-20120214.jpg not found

Attachments:

Please Log in or Create an account to join the conversation.

  • spindoc99
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
12 years 3 months ago #13966 by spindoc99
Replied by spindoc99 on topic Re: Help with Calcluations
nevermind, i got it.

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc