- Posts: 21
- Thank you received: 0
Questions about Payment Form extension
Help with Calcluations
- spindoc99
- Topic Author
- Offline
- Junior Member
Less
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
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.
- Tuan Pham Ngoc
- Offline
- Administrator
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
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.
- Coughlin
- Offline
- Junior Member
Less
More
- Posts: 20
- Thank you received: 0
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!
I am trying your solution now. Thanks!
Please Log in or Create an account to join the conversation.
- spindoc99
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 21
- Thank you received: 0
12 years 3 months ago #13962
by spindoc99
Replied by spindoc99 on topic Re: Help with Calcluations
Please Log in or Create an account to join the conversation.
- spindoc99
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 21
- Thank you received: 0
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
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.