- Posts: 107
- Thank you received: 0
Restrict membership by field
- Sevi
- Topic Author
- Offline
- Premium Member
Less
More
10 months 2 weeks ago #164478
by Sevi
Replied by Sevi on topic Restrict membership by field
Actually, for now, I can just take that field out. Right?
Sevi
Sevi
Please Log in or Create an account to join the conversation.
- Sevi
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 107
- Thank you received: 0
10 months 2 weeks ago #164479
by Sevi
Replied by Sevi on topic Restrict membership by field
I unpublished the country field for now. Thanks for catching that.
Sevi
Sevi
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
10 months 2 weeks ago #164481
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Restrict membership by field
So you don't allow any other countries except US ? If so, maybe you can unpublish the country field so that it won't be displayed ?
Tuan
Tuan
Please Log in or Create an account to join the conversation.
- Sevi
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 107
- Thank you received: 0
10 months 2 weeks ago - 10 months 2 weeks ago #164482
by Sevi
Replied by Sevi on topic Restrict membership by field
Yes, that's what I just did - thank you! I just need to worry about the states.
Last edit: 10 months 2 weeks ago by Sevi.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
10 months 2 weeks ago #164483
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Restrict membership by field
OK. So the solution here is using server validation rules. You can edit the state field, set Server Validation Rules to :
in:CA,AZ,DA
Replace CA,AZ,DA with list of states you want to allow subscribing, comma separated. Set Validation Error Message to something like We only allow registration from certain states...
Then try to check it again. It should work
Tuan
in:CA,AZ,DA
Replace CA,AZ,DA with list of states you want to allow subscribing, comma separated. Set Validation Error Message to something like We only allow registration from certain states...
Then try to check it again. It should work
Tuan
Please Log in or Create an account to join the conversation.
- Sevi
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 107
- Thank you received: 0
10 months 2 weeks ago #164491
by Sevi
Replied by Sevi on topic Restrict membership by field
Tuan,
Oh, this would be brilliant - but I can't get it to work. Could you please check my configuration on the STATE field?
Thanks,
Sevi
Oh, this would be brilliant - but I can't get it to work. Could you please check my configuration on the STATE field?
Thanks,
Sevi
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
10 months 2 weeks ago #164495
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Restrict membership by field
Should be OK now. Could you please check it again ? Also, in your setup, you only include 3 states, you need to includes all states in that setup
Tuan
Tuan
Please Log in or Create an account to join the conversation.
- Sevi
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 107
- Thank you received: 0
10 months 2 weeks ago - 10 months 2 weeks ago #164496
by Sevi
Replied by Sevi on topic Restrict membership by field
Tuan,
You and your software are pure genius! I see I didn't add the UPPERCASE to the mix. And yeah, I'll add them all in.
Just curious, not mission critical, is there any way to put the error message somewhere higher? I guess maybe CSS. I'll poke around tomorrow.
My friend, you have just saved me - again.
Thank you - again!
Sevi
You and your software are pure genius! I see I didn't add the UPPERCASE to the mix. And yeah, I'll add them all in.
Just curious, not mission critical, is there any way to put the error message somewhere higher? I guess maybe CSS. I'll poke around tomorrow.
My friend, you have just saved me - again.
Thank you - again!
Sevi
Last edit: 10 months 2 weeks ago by Sevi.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
10 months 2 weeks ago #164497
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Restrict membership by field
That error message is actually system error message and styled by your template. You will need to ask your template developer to see how to change it
Regards,
Tuan
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- Sevi
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 107
- Thank you received: 0
10 months 2 weeks ago #164498
by Sevi
Replied by Sevi on topic Restrict membership by field
Ah. Yes. Of course. It looked like a bootstrap thing.
I can format using css.
Thanks, Tuan - for everything.
Sevi
I can format using css.
Thanks, Tuan - for everything.
Sevi
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
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.