Restrict membership by field

  • Sevi
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
2 months 1 week 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

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

  • Sevi
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
2 months 1 week 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

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

More
2 months 1 week 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

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

  • Sevi
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
2 months 1 week ago - 2 months 1 week 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: 2 months 1 week ago by Sevi.

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

More
2 months 1 week 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

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

  • Sevi
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
2 months 1 week 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
 

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

More
2 months 1 week 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

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

  • Sevi
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
2 months 1 week ago - 2 months 1 week 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
Last edit: 2 months 1 week ago by Sevi.

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

More
2 months 1 week 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

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

  • Sevi
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
2 months 1 week 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

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

Moderators: Tuan Pham Ngoc