- Posts: 5
- Thank you received: 0
fee field wich depends on a super user field
- Andreas Heinz
- Topic Author
- Offline
- New Member
-
Less
More
8 years 11 months ago - 8 years 11 months ago #80925
by Andreas Heinz
fee field wich depends on a super user field was created by Andreas Heinz
Hi,
is it possible to create a custom field as a fee field for registered users, wich depends on a custom field for super user?
best regards
Andreas
is it possible to create a custom field as a fee field for registered users, wich depends on a custom field for super user?
best regards
Andreas
Last edit: 8 years 11 months ago by Andreas Heinz.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
8 years 11 months ago #80986
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic fee field wich depends on a super user field
Hi Andreas
I am not sure how it should work. Could you please explain more details?
Tuan
I am not sure how it should work. Could you please explain more details?
Tuan
Please Log in or Create an account to join the conversation.
- Andreas Heinz
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 0
8 years 11 months ago #81025
by Andreas Heinz
Replied by Andreas Heinz on topic fee field wich depends on a super user field
Hi Tuan,
the user subscribes for one subscription plan. In the registration form I have some custom fields as fee fields for additional services. Now I want to give the user the opportunity to change his subscription, in this case, the fee fields. The registered user should now be able to exchange the services, but this means additional work for me. So I decide, that he can only change it for 2 times for free with a separate subscription plan. My idea was a additional field, only for me (super user) in the registration form for the second subscription plan for his change wishes. Perhaps something like: is he allowed to change it for free? This field has a default value "yes" and only I can see it and change it to "No" in the backend. The user did´t see that field. And here ist my problem. If I create a custom field as a fee field in the user registration form, wich depends on the 'super-user-field', nothing happens.
1. radio button field for super user: "Is he allowed to change it for free?" (yes, no) - default value "yes"
2. if yes, normal text-field for registered user
3. if no (because I have changed it in the backend to no), text field as fee field for registered user
I hope my explanation is open-and-shut.
Thanks and best regards
Andreas
the user subscribes for one subscription plan. In the registration form I have some custom fields as fee fields for additional services. Now I want to give the user the opportunity to change his subscription, in this case, the fee fields. The registered user should now be able to exchange the services, but this means additional work for me. So I decide, that he can only change it for 2 times for free with a separate subscription plan. My idea was a additional field, only for me (super user) in the registration form for the second subscription plan for his change wishes. Perhaps something like: is he allowed to change it for free? This field has a default value "yes" and only I can see it and change it to "No" in the backend. The user did´t see that field. And here ist my problem. If I create a custom field as a fee field in the user registration form, wich depends on the 'super-user-field', nothing happens.
1. radio button field for super user: "Is he allowed to change it for free?" (yes, no) - default value "yes"
2. if yes, normal text-field for registered user
3. if no (because I have changed it in the backend to no), text field as fee field for registered user
I hope my explanation is open-and-shut.

Thanks and best regards
Andreas
Please Log in or Create an account to join the conversation.
- Andreas Heinz
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 0
8 years 11 months ago #81565
by Andreas Heinz
Replied by Andreas Heinz on topic fee field wich depends on a super user field
Hi Tuan,
more than a week no answer. Is everthing ok?
Regards
Andreas
more than a week no answer. Is everthing ok?
Regards
Andreas
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
8 years 11 months ago #81570
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic fee field wich depends on a super user field
Hi Andreas
Yes, Everything is OK. I could not work much in the last few days because we had a new baby. Everything will be normal from tomorrow.
Back to your issue / question, unfortunately, it is not possible. As you set the custom field only available for super admin, it won't be available on the form when normal users access to it, so custom fields dependency won't work. So basically, the solution you proposed won't work, need further customization to the code in this case
Tuan
Yes, Everything is OK. I could not work much in the last few days because we had a new baby. Everything will be normal from tomorrow.
Back to your issue / question, unfortunately, it is not possible. As you set the custom field only available for super admin, it won't be available on the form when normal users access to it, so custom fields dependency won't work. So basically, the solution you proposed won't work, need further customization to the code in this case
Tuan
Please Log in or Create an account to join the conversation.
- Andreas Heinz
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 0
8 years 11 months ago #81573
by Andreas Heinz
Replied by Andreas Heinz on topic fee field wich depends on a super user field
Thanks for your answer and congrats for your new baby.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
8 years 11 months ago #81605
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic fee field wich depends on a super user field
Thanks Andreas
Please Log in or Create an account to join the conversation.
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.