- Posts: 2
- Thank you received: 0
Query a value of a custom field in file register_payment_amount.php
- Roland Grillenberger
- Topic Author
- Offline
- New Member
Less
More
5 years 7 months ago - 5 years 7 months ago #117413
by Roland Grillenberger
Query a value of a custom field in file register_payment_amount.php was created by Roland Grillenberger
Hi everybody,
I want to change the value of JText::_('EB_AMOUNT'); depending on the value of a custom field in the file themes/default/register/register_payment_amount.php.
How can I query the value of a custom field in this file?
For example something like:
I would replace
with
afterwards.
Anybody an idea?
Thanks in advance and best regards,
Roland
I want to change the value of JText::_('EB_AMOUNT'); depending on the value of a custom field in the file themes/default/register/register_payment_amount.php.
How can I query the value of a custom field in this file?
For example something like:
Code:
<?php
if (my_custom_field=='1') {
$value_of_eb_amount=x;
} else {
$value_of_eb_amount=x;
}
?>
I would replace
Code:
<?php echo JText::_('EB_AMOUNT'); ?>
Code:
<?php echo $value_of_eb_amount; ?>
Anybody an idea?
Thanks in advance and best regards,
Roland
Last edit: 5 years 7 months ago by Roland Grillenberger.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
5 years 7 months ago #117421
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Query a value of a custom field in file register_payment_amount.php
Hello Roland
I am not sure if it's possible. Maybe you can send us the link to the registration form on your site and explain how it should work so that I can understand your requirement and answer you further
Tuan
I am not sure if it's possible. Maybe you can send us the link to the registration form on your site and explain how it should work so that I can understand your requirement and answer you further
Tuan
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.