Restrict membership by field

  • Sevi
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
2 months 1 week ago #164506 by Sevi
Replied by Sevi on topic Restrict membership by field
Tuan,

Your solution is working perfectly. Some further questions/comments:
  1. Why didn't we think of just limiting the state list to only those states okay to take memberships? There's no way anyone can enter anything else since the drop down list is just those states now after I edited it.
  2. Is the zip code field validated in any way to the U.S. state?
  3. The server validation rule you put in - is there a place I can see those codes? I didn't see it mentioned in the documentation.

    Please check what I put in the private section.
Thanks again,
Sevi
 

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

More
2 months 1 week ago #164515 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Restrict membership by field
Hi Sevi

1. That would work, too. I added the validation rule because I thought you would want to display other states there as well. You can always go to Membership Pro, then Setup -> States to unpublish the states you don't want and it will be removed from dropdown and unselectable

2. No, we do not have an option to validate US states base on zip code

3. It is documented here docs.joomdonation.com/membershippro/basi...#built-in-validators , but I will need to update it to also include in and notIn rules

Tuan

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

More
2 months 1 week ago #164516 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Restrict membership by field
BTW, thanks for sending the Gift but I don't know how to receive it. So if you can, please cancel that gift card and then send donation directly to us. Our PayPal account is mian.dostech@gmail.com

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 #164519 by Sevi
Replied by Sevi on topic Restrict membership by field
Thanks, Tuan. Appreciate the quick and thorough reply.
Re: Gift card., It';s electronic and from Amazon/Starbucks. I figured you could redeem it on your end. I'll have to see how to cancel it. Amazon doesn't allow that normally.
Cheers,
Sevi

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

Moderators: Tuan Pham Ngoc