Questions about Payment Form extension
Script cannot recognize custom fields
- anag2020
- Topic Author
- Visitor
-
11 years 10 months ago #29430
by anag2020
Script cannot recognize custom fields was created by anag2020
This question perhaps has been asked many times but I could not locate one in the forum.
I have created a custom fee field, say PF_AUTHOR_FEE. I have another custom fee field PF_DISCOUNT. On the global form, I need to calculate the fee after the discount. I use the expression:
[PF_AUTHOR_FEE]*[PF_DISCOUNT].
The fee becomes zero. It appears that the custom fields are not recognized by the script. Only field I can use is [FIELD_VALUE] and constants.
Even on the PF_AUTHOR_FEE sheet, I cannot use [PF_DISCOUNT]. All fields are dropdown type with default values defined.
Also, how do I use the total form value (not field value) in script? Is there a term FORM_VALUE?
Thanks
AN
I have created a custom fee field, say PF_AUTHOR_FEE. I have another custom fee field PF_DISCOUNT. On the global form, I need to calculate the fee after the discount. I use the expression:
[PF_AUTHOR_FEE]*[PF_DISCOUNT].
The fee becomes zero. It appears that the custom fields are not recognized by the script. Only field I can use is [FIELD_VALUE] and constants.
Even on the PF_AUTHOR_FEE sheet, I cannot use [PF_DISCOUNT]. All fields are dropdown type with default values defined.
Also, how do I use the total form value (not field value) in script? Is there a term FORM_VALUE?
Thanks
AN
Please Log in or Create an account to join the conversation.
- anag2020
- Topic Author
- Visitor
-
11 years 10 months ago #29438
by anag2020
Replied by anag2020 on topic Re: Script cannot recognize custom fields
Never mind.
I guess I figured it out.
Thanks
AN
I guess I figured it out.
Thanks
AN
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
Less
More
11 years 10 months ago #29466
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Script cannot recognize custom fields
Glad to hear that you figured it ! If you have other questions, please don't hesitate to ask !
Tuan
Tuan
Please Log in or Create an account to join the conversation.
- anag2020
- Topic Author
- Visitor
-
11 years 10 months ago #29530
by anag2020
Replied by anag2020 on topic Re: Script cannot recognize custom fields
Hi,
I guess there is no variable [FORM_VALUE}. As of now I can manage using just the [FIELD_VALUE].
Follow-up questions:
1. How do I change the column widths? I need to make them wider.
2. How do I assign a different layout to a form/field? I don't see the option anywhere. The one on the field management is just a text box with no selections available?
Thanks
I guess there is no variable [FORM_VALUE}. As of now I can manage using just the [FIELD_VALUE].
Follow-up questions:
1. How do I change the column widths? I need to make them wider.
2. How do I assign a different layout to a form/field? I don't see the option anywhere. The one on the field management is just a text box with no selections available?
Thanks
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
11 years 10 months ago #29534
by Tuan Pham Ngoc
=> Could you please send me the link to the page ? I will look at it and then guide you. It should be simple CSS modification.
=> I don't understand this question. I believe each custom field doesn't have different layouts to choose from. Maybe I mis-understood your requirement ?
Tuan
Replied by Tuan Pham Ngoc on topic Re: Script cannot recognize custom fields
1. How do I change the column widths? I need to make them wider.
=> Could you please send me the link to the page ? I will look at it and then guide you. It should be simple CSS modification.
2. How do I assign a different layout to a form/field? I don't see the option anywhere. The one on the field management is just a text box with no selections available?
=> I don't understand this question. I believe each custom field doesn't have different layouts to choose from. Maybe I mis-understood your requirement ?
Tuan
Please Log in or Create an account to join the conversation.
- anag2020
- Topic Author
- Visitor
-
11 years 10 months ago #29623
by anag2020
Replied by anag2020 on topic Re: Script cannot recognize custom fields
AN>>The Testpage link is :
www.ijacp.org/index.php/testpage
=> I don't understand this question. I believe each custom field doesn't have different layouts to choose from. Maybe I mis-understood your requirement ?
AN>>Regarding the layout, I understand that there are 4 different layouts available that one could choose from. How do I choose one of these layouts?
www.ijacp.org/index.php/testpage
=> I don't understand this question. I believe each custom field doesn't have different layouts to choose from. Maybe I mis-understood your requirement ?
AN>>Regarding the layout, I understand that there are 4 different layouts available that one could choose from. How do I choose one of these layouts?
Please Log in or Create an account to join the conversation.
- anag2020
- Topic Author
- Visitor
-
11 years 10 months ago #29670
by anag2020
Replied by anag2020 on topic Re: Script cannot recognize custom fields
Any answer please!
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
11 years 10 months ago #29709
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Script cannot recognize custom fields
Hi
Please see my answer for your questions on your latest forum post. Sorry for lately response, it is holiday in our country these days.
Tuan
Please see my answer for your questions on your latest forum post. Sorry for lately response, it is holiday in our country these days.
Tuan
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.