Making Email Unchangeable in subscription screen

  • Ahmad Arshad
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
5 years 4 weeks ago #137008 by Ahmad Arshad
Hello,

I am trying to make sure that in the front end, when clients subscribe to a plan, and their profile fields get populated, they are unable to change their "email". How can I do that?

Many thanks

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

More
5 years 3 weeks ago #137013 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Making Email Unchangeable in subscription screen
Hello

So in your case, client needs to login before they can subscribe for a plan?

If so, you can try to edit the email field (go to Membership Pro -> Custom Fields, click on the field to edit), then enter readonly into Extra parameter of that custom field

It should work as expected

Tuan
The following user(s) said Thank You: Ahmad Arshad

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

  • Ahmad Arshad
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
5 years 3 weeks ago #137024 by Ahmad Arshad
Replied by Ahmad Arshad on topic Making Email Unchangeable in subscription screen
Dear Tuan

Now the issue is, that this field becomes readonly during registration process as well. For example when a new user signs up, I want them to be able to register with an email. I dont want, however, them to be able to keep on changing their emails, every time they "subscribe" to a plan

Thanks

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

More
5 years 3 weeks ago #137025 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Making Email Unchangeable in subscription screen
It's confusing. So exactly on what page you don't want to allow users to change their email? Could you attach a screenshot of that page?

Tuan

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

  • Ahmad Arshad
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
5 years 3 weeks ago #137026 by Ahmad Arshad
Replied by Ahmad Arshad on topic Making Email Unchangeable in subscription screen
Hi Tuan, I'll open a support ticket about this

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

More
5 years 3 weeks ago #137028 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Making Email Unchangeable in subscription screen
Hello

This will require some customization to the code. You can get this file, unzip it, upload to PATH_TO_TEMPLATE/html/com_osmembership/register folder and it should work as expected

Tuan

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

  • Ahmad Arshad
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
5 years 3 weeks ago #137043 by Ahmad Arshad
Replied by Ahmad Arshad on topic Making Email Unchangeable in subscription screen
Thank you Tuan. this is perfect

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

More
5 years 3 weeks ago #137059 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Making Email Unchangeable in subscription screen
Great. Happy to hear that and thanks for confirming

Tuan

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