Skip to Content Skip to Menu

Enforce New Required Field on Membership Renewal

  • petekuhn
  • petekuhn
  • OFFLINE
  • Posts: 282
  • Thanks: 39
  • Karma: 0
1 month 2 weeks ago #343872 by petekuhn
It says reactivate. And it also shows the plan ID as 3, which is what I set the condition to trigger on.
I've attached the HTML for the form.
 

File Attachment:

File Name: html.txt
File Size:1 KB

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 50536
  • Thanks: 8652
  • Karma: 1473
1 month 2 weeks ago #343873 by krileon
Strange, that auto action should be working fine then. Please PM (see link in signature) backend super user login credentials as well as frontend login credentials where this issue is present and will take a look.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 50536
  • Thanks: 8652
  • Karma: 1473
1 month 1 week ago #343893 by krileon
Have reviewed your install and can't make any sense of why this doesn't work on your site specifically. It's tested working on my Joomla 4, 5, and 6 test installs. I also tested it on our demo site.

So I went with a different method and intercepted the basket render instead. This appears to have worked. I've unpublished the other auto action and you'll now see "Require New Info on Renewal (Basket)" new auto action that handles redirecting the basket. You'll need to add your field condition there though otherwise it's just going to redirect every renewal basket.

Since the basket is actually created with this second auto action it might also be possible to redirect basket to the basket after they've updated their profile as well creating this full cycle of basket > update profile > basket. If you'd like it to do that let me know and will see if I can get a simple auto action example together for that.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

  • petekuhn
  • petekuhn
  • OFFLINE
  • Posts: 282
  • Thanks: 39
  • Karma: 0
1 month 1 week ago #343898 by petekuhn
Thanks. That works great.

One additional question. I can't figure out the conditional parsing order. Is it possible to add a condition which checks that any one of several fields is empty?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 50536
  • Thanks: 8652
  • Karma: 1473
1 month 1 week ago #343899 by krileon
The order doesn't particularly matter, but generally you want to exit as early as possible so the first 2 conditions I've already provided should just remain in that order.

Is it possible to add a condition which checks that any one of several fields is empty?

Yes. Just click the "Add AND Rows" button and add as many as you need. It'll be sure none of the fields you supplied are empty. So if you require 3 fields to have a value add 3 AND rows and condition to make sure those 3 are not empty.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

  • petekuhn
  • petekuhn
  • OFFLINE
  • Posts: 282
  • Thanks: 39
  • Karma: 0
1 month 1 week ago - 1 month 1 week ago #343900 by petekuhn
I think it wants ORs and not ANDs if I'm checking for any field empty and triggering on that. 
What you suggested will trigger on the OK case (all fields have content), no?

In other words AND (field is not empty) generates TRUE if all is OK
What I want is OR (field is empty) to do the redirect.

Is this possible?
Last edit: 1 month 1 week ago by petekuhn.

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

Moderators: beatnantkrileon
Powered by Kunena Forum