Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

[SOLVED] CB field readonly on profile edit

11 years 1 month ago - 11 years 1 month ago #234153 by iytworldwide
[SOLVED] CB field readonly on profile edit was created by iytworldwide
Hi Team,

I have a scenario where a field "membership type"(drop down) should be read-only on profile edit. In registration user selects the "membership type" value but once user is created and login-ed, he/she cannot change his membership type.

Please guide me how this can be achieved. I tried search it but could not find any example. Somewhere cb privacy plugin is mentioned to achieve this but not sure whether it is to be used or some other way to achieve the needful.

Warm Regards,
Amit
Last edit: 11 years 1 month ago by krileon.

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
11 years 1 month ago #234155 by nant
Replied by nant on topic CB field readonly on profile edit

iytworldwide wrote: Hi Team,

I have a scenario where a field "membership type"(drop down) should be read-only on profile edit. In registration user selects the "membership type" value but once user is created and login-ed, he/she cannot change his membership type.

Please guide me how this can be achieved. I tried search it but could not find any example. Somewhere cb privacy plugin is mentioned to achieve this but not sure whether it is to be used or some other way to achieve the needful.

Warm Regards,
Amit


All readonly cb fields that are configured for registration will do what you want.

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

11 years 1 month ago #234166 by iytworldwide
Replied by iytworldwide on topic CB field readonly on profile edit
Sorry, Either you did not understood my requirement or myself not understood what you are trying to say.

I want the field to be enabled and read-write enabled for registration. I want it read only only in profile edit scenario and not in registrations scenario.


"All readonly cb fields that are configured for registration will do what you want." It is not readonly in registration form.

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

11 years 1 month ago #234178 by iytworldwide
Replied by iytworldwide on topic CB field readonly on profile edit
After making the field read only in CB, it was not allowed to be editable in edit profile and editable in registration. Thanks

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

Moderators: beatnantkrileon
Powered by Kunena Forum