- Posts: 5
- Thank you received: 0
Questions about Payment Form extension
Configuration help...
- Kevin S.
- Topic Author
- Offline
- New Member
-
Less
More
11 years 6 months ago #34609
by Kevin S.
Configuration help... was created by Kevin S.
Working on a simple form to allow for the registration of an event and the purchase of event shirts.
Event fee is $25 and I'd like to offer multiple quantities if possible. Not a requirement by any means.
Shirts are $10-$15 depending on the size.
Shirt quantities are from 1-10.
I'm having a bit ofdifficulty figuring out how to get the form to calculate properly, namely in determining what the field names are and what particular field is calculated where.
I've tweaked the stock form to include the standard info with the starred items required:
*First Name
*Last Name
Organization
*Address1
Address2
*City
*State
*Zip
*Country
*Phone
Fax
*Email
Comment
and added 3 custom fields:
*AMA Number
Event Shirt Size
Shirt Qty
In the Form Management, I set the Amount to $25.00. In the fee calculation script, I've tried leaving it blank and also adding [PF_AMOUNT], [PF_FORM_AMOUNT], [AMOUNT], [FORM_AMOUNT] and any other number of connotations. When I open the form in my browser, I can see at the top "The amount you owe is $25.00".
In Fields Management, I set the Event Shirt Size to a dropdown type with values of Small, Medium, Large, XL, XXL and XXXL. No default values and Fee field set to No. Fee Values are 10, 10, 10, 12, 12, 15 (Yes, they're all on separate lines) and there is no fee formula (makes sense since it's not a fee field, right?)
I set Shirt Qty up with Values of 1 to 10, Fee Field to yes, no fee values
Here's where I'm lost...
How do I get this:
Amount + (Shirt size* Shirt qty)??
I've tried [FIELD_AMOUNT]+([PF_EVENT_SHIRT_SIZE]*[PF_SHIRT_QTY] but the total comes to $0.00 regardless of what items I select.
I've read the tutorials and a couple posts in here ( joomdonation.com/55-payment-form/22114-q...-t-show-properl.html is one that's pretty close to what I'm looking for) but am still not "seeing" the connections between the various fields...
Where does the "master" calculation occur???
Event fee is $25 and I'd like to offer multiple quantities if possible. Not a requirement by any means.
Shirts are $10-$15 depending on the size.
Shirt quantities are from 1-10.
I'm having a bit ofdifficulty figuring out how to get the form to calculate properly, namely in determining what the field names are and what particular field is calculated where.
I've tweaked the stock form to include the standard info with the starred items required:
*First Name
*Last Name
Organization
*Address1
Address2
*City
*State
*Zip
*Country
*Phone
Fax
Comment
and added 3 custom fields:
*AMA Number
Event Shirt Size
Shirt Qty
In the Form Management, I set the Amount to $25.00. In the fee calculation script, I've tried leaving it blank and also adding [PF_AMOUNT], [PF_FORM_AMOUNT], [AMOUNT], [FORM_AMOUNT] and any other number of connotations. When I open the form in my browser, I can see at the top "The amount you owe is $25.00".
In Fields Management, I set the Event Shirt Size to a dropdown type with values of Small, Medium, Large, XL, XXL and XXXL. No default values and Fee field set to No. Fee Values are 10, 10, 10, 12, 12, 15 (Yes, they're all on separate lines) and there is no fee formula (makes sense since it's not a fee field, right?)
I set Shirt Qty up with Values of 1 to 10, Fee Field to yes, no fee values
Here's where I'm lost...
How do I get this:
Amount + (Shirt size* Shirt qty)??
I've tried [FIELD_AMOUNT]+([PF_EVENT_SHIRT_SIZE]*[PF_SHIRT_QTY] but the total comes to $0.00 regardless of what items I select.
I've read the tutorials and a couple posts in here ( joomdonation.com/55-payment-form/22114-q...-t-show-properl.html is one that's pretty close to what I'm looking for) but am still not "seeing" the connections between the various fields...
Where does the "master" calculation occur???
Please Log in or Create an account to join the conversation.
- Kevin S.
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 0
11 years 6 months ago #34690
by Kevin S.
Replied by Kevin S. on topic Re: Configuration help...
<tap> <tap> <tap>
Is this thing on????
Is this thing on????
Please Log in or Create an account to join the conversation.
- Kevin S.
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 0
11 years 6 months ago #34700
by Kevin S.
Replied by Kevin S. on topic Re: Configuration help...
Ok, I have the shirts calculating correctly, but just not seeing how to tie the event amount to the total - or at least WHERE to do the calculation...
Is "SUM OF ALL FEE FIELDS" as explained in the Tutorial a variable? i.e [PF_SUM_OF_ALL_FEE_FIELDS]? Or is FORM AMOUNT?
This would be a piece of cake if I knew where the heck to total everything up....(even better if I could display a total before clicking "Next")
Is "SUM OF ALL FEE FIELDS" as explained in the Tutorial a variable? i.e [PF_SUM_OF_ALL_FEE_FIELDS]? Or is FORM AMOUNT?
This would be a piece of cake if I knew where the heck to total everything up....(even better if I could display a total before clicking "Next")
Please Log in or Create an account to join the conversation.
- Kevin S.
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 0
11 years 6 months ago #34882
by Kevin S.
Replied by Kevin S. on topic Re: Configuration help...
<crickets>
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2025 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.