Query a value of a custom field in file register_payment_amount.php

  • Roland Grillenberger
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 7 months ago - 5 years 7 months ago #117413 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:
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'); ?>
with
Code:
<?php echo $value_of_eb_amount; ?>
afterwards.

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.

More
5 years 7 months ago #117421 by Tuan Pham Ngoc
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

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

Moderators: Tuan Pham Ngoc